mIRC Homepage
Posted By: chawni Annoying ads/spam via private msg - 12/02/05 03:34 PM
When I join my fav channel and am voice..I immediately get this private message which contains an unwanted ad such as this.. "[10:25] *UAbq* You can find DVD Quality Amateur Porn Movies here ="
Please tell me how to stop this major annoyance. mad
Posted By: Mentality Re: Annoying ads/spam via private msg - 12/02/05 03:39 PM
Some networks have modes which help counter spam. For example, DALnet has +R which only allows registered users to speak to you, EFnet has +g which blocks all PMs until you accept them. You will need to ask in your network's #Help channel if such modes exist.

However, mIRC script can also be used (which I guess is why you've posted here!), here is an example of one way:

on ^*:open:?:*:{
if (*porn* iswm $1-) || (*XXX* iswm $1-) {
.msg $nick Spam has been detected, your message has been blocked.
.ignore -pn $nick 3
halt
}
}


This will block all messages from users who's first message to you contains the word "porn" OR contains "XXX". It will also message them with that sentence, and ignore all future private messages and notices from their address. It also will stop the query window from opening at all, so you won't even know you've been messaged smile

For further information see /help ON OPEN.

Regards,
well already answered

i had to edit it ..

walk in light smile
Posted By: chawni Re: Annoying ads/spam via private msg - 12/02/05 03:42 PM
Thanks.. now just one thing. Where do I add that?
Posted By: Mentality Re: Annoying ads/spam via private msg - 12/02/05 03:43 PM
Press ALT+R. If the box is clear of any code, you can paste what you see above in that box and click 'OK'. If when you press ALT+R you see code already, go to File > New and paste it in a new remote file.

Regards,
might i add

make sure you save as anyfilename.ini
and afterwards type /remote on


cheers smile
Posted By: chawni Re: Annoying ads/spam via private msg - 12/02/05 05:09 PM
Well i managed to totally screw up my auth and cloaking commands. I did what u said and added it as a "new" file to remote but after that... nothing worked. Was a good thing I saved a copy of everything before I added it cuz I would really be in a fix now. I dont know what I did but apparantly it was wrong. BTW.. Im on Undernet.
Posted By: Mentality Re: Annoying ads/spam via private msg - 12/02/05 05:20 PM
Nothing in that code could break existing scripts, so if you don't know what you did, nor do I :tongue:

Regards,
Posted By: chawni Re: Annoying ads/spam via private msg - 12/02/05 05:25 PM
I did exactly what you instructed. Alt-R.. there was a script already there so I went to file...new... pasted the spam script in and then saved. Then when i disconnected and reconnected... I couldnt get authed or cloaked and it looked like the original script that I saw when I first hit the alt-r just disappeared.
Posted By: DaveC Re: Annoying ads/spam via private msg - 12/02/05 07:11 PM
3 to 1 you went file/unload
Posted By: chawni Re: Annoying ads/spam via private msg - 12/02/05 07:19 PM
Ok... I tried it again THIS time I didnt "save", I clicked "ok" and I didnt type /remote on.. seems to be fine now.Lets just hope it keeps the spam monster away. So far so good! Thanks for all your help. Its appreciated
Posted By: chawni Re: Annoying ads/spam via private msg - 12/02/05 07:22 PM
Nope.. I didnt do that. Even thought this message board says Im a "newbie" its just to this forum.. not to mIRC. Ive used mIRC for 9 years. grin Thanks for your input!
i would suggest you get an already made spam blocker from one of the scripting sites listed in the http://www.mirc.com/links.html







walk in light smile
Posted By: chawni Re: Annoying ads/spam via private msg - 12/02/05 08:35 PM
Thanks for that. Found a real good one as back up to my new ini file. laugh
© mIRC Discussion Forums