mIRC Homepage
Posted By: WarlockW Anyone Have a script to stop PM's ??? - 08/12/04 04:23 PM
Need Help Plz ..

Anyone Have a script to stop PM's ???

I am Getting Spamed By MANY BOTS!!!

Need A Way To Close The Windows Automatically.
Better Yet Not To Take PM's Altogether.

THANKS For Your Help! cool
Posted By: Seifer Re: Anyone Have a script to stop PM's ??? - 08/12/04 04:35 PM
/ignore -p *
Posted By: WarlockW Re: Anyone Have a script to stop PM's ??? - 08/12/04 05:16 PM
Ok This is How I Did It :

on ^*:open:?:*: {
if (%blockoff == 1) goto End
notice $nick Sorry I do not accept private messages!
notice $nick To get my attention you need to ask in the channel!
halt
:end
}

then in popups

-
PM Blocker
.on: echo -a 13PM-Blocker is: On | set %blockoff 0
.off: echo -a 13PM-Blocker is: Off | set %blockoff 1
-

WORKS GREAT!
Posted By: clutz1572 Re: Anyone Have a script to stop PM's ??? - 08/12/04 05:26 PM
i have found this.....

Code:
 on *:TEXT:*:?:{
  if ($regex($1-,/(www|http:|[censored]|#*|sex|cyber|porn|pussy|teen girls)/i)) {
    echo -s $nick Is Spamming You: $1- | msg $nick Spam Ignored. | ignore -u30 $nick | close -m $nick 
  }
}  


this works nicely.... all you would have to do is either add/change the KEY WORDS(in the brackets) and it will block all queries that contain those keywords so you won't see them. you could also i guess remove the spam notice as well if you wish. it just echos a msg in the status menu that you've been spammed .. i think it's a better alternative to using the ignore -p command, this way allows you to get pm's from people you want to get them from.

just thought i'd share grin
© mIRC Discussion Forums