mIRC Homepage
Posted By: EightBall close window on text match - 29/05/19 10:00 PM
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?
Posted By: Wims Re: close window on text match - 30/05/19 05:55 PM
You don't need to restart mIRC for changes to take place.

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