I have enabled "Use single message window" under mIRC IRC Options.
The following code works on normal message windows, but will not work on a dedicated window open:
on ^*:OPEN:?:*:{
if ((http:// isin $1-) || (www. isin $1-) || ($chr(35) isin $1-) || ($chr(3) isin $1-) || ($!decode isin $1-)) {
msg $nick [spamfilter] your message has been considered as spam and window was closed.
halt
}
}
BTW, its maybe time to add an anti-spam filter in mirc, since QuakeNet is flooding over by spammers that message you with:
All off game cheats, patchs , consoles , weekly updated online server list here =>
http://blahHot movies,Hot teens, Pam , Jennifer and more then stars , All of free and 4 u ==>
http://blahWold class free porn all off for u =>
http://blahI think I've gotten like 40 messages like this the past week. Always from new nicks. I know I could ignore them, but I wanted this antispam filter to work.