mIRC Home    About    Download    Register    News    Help

Print Thread
close window on text match #265563 29/05/19 10:00 PM
Joined: May 2019
Posts: 1
E
EightBall Offline OP
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?

Re: close window on text match [Re: EightBall] #265566 30/05/19 05:55 PM
Joined: Jul 2006
Posts: 3,559
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,559
You don't need to restart mIRC for changes to take place.

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


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net