mIRC Home    About    Download    Register    News    Help

Print Thread
M
mIRCusr
mIRCusr
M
Hi

I wanna block / ignore action text. Is there a chance to do this?! I found settings to ''hide'' / ''show at'' notices, querys, whois and so on ... but nothing for action text.

If i could do ... i wanna block / ignore only away-msgs. I hate auto generated away-msgs @ all full / half hour from same nick ... but i don't want to block / ignore the user.

''* I'm away since 1 hour''
''* I'm away since 2 hours''
''* I'm away since 3 hours''
''* I'm away since 4 hours'' ...

Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
on ^1:ACTION: { halt } <<-- halt all actions

on ^1:ACTION:: if (away isin $1-) { halt } <<-- halt actions with AWAY in them

i think this is what you looking for? smirk

P
pheonix
pheonix
P
on ^*:ACTION:*:#:{
if (*away* iswm $1-) { haltdef }
}
that will ignore any action message containing: away

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
You used the wrong syntax for on ACTION, neither of those work..

Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
ok.. wink

M
mIRCusr
mIRCusr
M
I tested your code and the code from the other replyer ... but in chan the line is printed nevertheless.

Somebody else another idea how to block / ignore action-msgs?

Last edited by mIRCusr; 13/08/03 03:05 PM.
P
pheonix
pheonix
P
mine wont echo the line as long as the persons away message has "away" somewhere in the line, if it does: you have another script interfering with it.

M
mIRCusr
mIRCusr
M
I've copied your code 1:1 ... but it doesn't work. The line is still printed in channel.

I've added the beep-command ... and this works fine ... at all action text within away sounds a beep ... but the line is not blocked in channel.

Last edited by mIRCusr; 13/08/03 03:09 PM.
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
try do the "haltdef" to only "halt" one time and try.. smirk

M
mIRCusr
mIRCusr
M
sorry ... it doesn't work. I've tested it also with haltdef.

=====

on *:ACTION:*:*: {
if ( ( away isin $1- ) || ( wolfenstein isin $1- ) || ( playing isin $1- ) ) {
/aline -p 3 @Status HALT $network $chan $nick $1-
beep
halt
}
else {
$freundesuchen( a , $chan , $nick , $address( $nick , 3 ) )
}
}

=====

#chan:

[17:44] * @nick away rockt die welt
[17:44] * @nick away rockt die welt
[17:44] * @nick away rockt die welt

=====

@Status: (test)

HALT network #chan nick away rockt die welt
HALT network #chan nick away rockt die welt
HALT network #chan nick away rockt die welt

=====

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
Try on ^*:ACTION:*:*: { instead of on *:ACTION:*:*: {

M
mIRCusr
mIRCusr
M
YES YES YES ... GREAT

thank you very much!!! smile


why ^* or ^1 ?? in on TEXT-help there's none ^.

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
/help Halting Default Text

Joined: Dec 2002
Posts: 222
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 222
Brrrr....... what ugly if (bla isin $1-) code are you all writing.... Using the match text really works a lot faster and delivers nice and simple events!

on ^1:ACTION:*away*:#:/halt


Link Copied to Clipboard