mIRC Home    About    Download    Register    News    Help

Print Thread
#265563 29/05/19 10:00 PM
Joined: May 2019
Posts: 1
E
Mostly harmless
OP Offline
Mostly harmless
E
Joined: May 2019
Posts: 1
I'm trying to automatically close private message windows when certain text appears. I have a lot of invite bots that send me messages and it ends up cluttering my list of windows.

I tried putting this in the remote file but it doesn't seem to work:

Code:
on $*:TEXT:/.*Inviting\syou\sto.*/:?:{ window -c $nick }


Do I need to restart mIRC to get remote changes to work? I thought it would take effect on save?

Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
You don't need to restart mIRC for changes to take place.

Try using this regular expression instead:
Code:
/.*Inviting\syou\sto.*/Si


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard