mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
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,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on ^*:ACTION:*:#:{
if (*away* iswm $1-) { haltdef }
}
that will ignore any action message containing: away


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

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


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
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.
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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.


new username: tidy_trax
Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
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,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
try do the "haltdef" to only "halt" one time and try.. smirk


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
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,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Try on ^*:ACTION:*:*: { instead of on *:ACTION:*:*: {

Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
YES YES YES ... GREAT

thank you very much!!! smile


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

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

Joined: Dec 2002
Posts: 329
Fjord artisan
Offline
Fjord artisan
Joined: Dec 2002
Posts: 329
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