mIRC Home    About    Download    Register    News    Help

Print Thread
#137405 12/12/05 12:00 PM
Joined: Jan 2005
Posts: 55
R
rtg Offline OP
Babel fish
OP Offline
Babel fish
R
Joined: Jan 2005
Posts: 55
how do I set mirc to automatically 1.close and\or 2.ignore for a)x hours or\and b)till next mirc restart ALL the queries that people msg me and contain a *word* ?

thanks

#137406 12/12/05 12:25 PM
Joined: Nov 2005
Posts: 105
D
Vogon poet
Offline
Vogon poet
D
Joined: Nov 2005
Posts: 105
This is easily done. Just take a look at the on OPEN event. /help Open. Basically adding
Code:
on ^*:OPEN:?:*word*:{ echo -a Denied private message from $nick } 

Just replace the *word* with the text you dont want to recieve in a private message.

#137407 12/12/05 12:57 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
You forgot /halt in there, as well as the ignore-for-x-hours part.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#137408 12/12/05 06:25 PM
Joined: Jan 2005
Posts: 55
R
rtg Offline OP
Babel fish
OP Offline
Babel fish
R
Joined: Jan 2005
Posts: 55
thank you very much for your replies

my question actually refers to more than one scripts (and\or etc)

thank you!


Link Copied to Clipboard