mIRC Home    About    Download    Register    News    Help

Topic Options
#265563 - 29/05/19 11:00 PM close window on text match
EightBall Offline
Mostly harmless

Registered: 29/05/19
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?

Top
#265566 - 30/05/19 06:55 PM Re: close window on text match [Re: EightBall]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3515
Loc: France
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

Top