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'' ...
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?
on ^*:ACTION:*:#:{
if (*away* iswm $1-) { haltdef }
}
that will ignore any action message containing: away
You used the wrong syntax for on ACTION, neither of those work..
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?
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.
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.
try do the "haltdef" to only "halt" one time and try..
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
=====
Try on ^*:ACTION:*:*: { instead of on *:ACTION:*:*: {
YES YES YES ... GREAT
thank you very much!!!
why ^* or ^1 ?? in on TEXT-help there's none ^.
/help Halting Default Text
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