mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2005
Posts: 25
C
chawni Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2005
Posts: 25
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

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
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,


Mentality/Chris
Joined: Sep 2003
Posts: 112
E
Vogon poet
Offline
Vogon poet
E
Joined: Sep 2003
Posts: 112
well already answered

i had to edit it ..

walk in light smile

Last edited by elegantlywasted; 12/02/05 03:43 PM.
Joined: Feb 2005
Posts: 25
C
chawni Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2005
Posts: 25
Thanks.. now just one thing. Where do I add that?

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
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,


Mentality/Chris
Joined: Sep 2003
Posts: 112
E
Vogon poet
Offline
Vogon poet
E
Joined: Sep 2003
Posts: 112
might i add

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


cheers smile

Joined: Feb 2005
Posts: 25
C
chawni Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2005
Posts: 25
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.

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Nothing in that code could break existing scripts, so if you don't know what you did, nor do I :tongue:

Regards,


Mentality/Chris
Joined: Feb 2005
Posts: 25
C
chawni Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2005
Posts: 25
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.

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
3 to 1 you went file/unload

Joined: Feb 2005
Posts: 25
C
chawni Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2005
Posts: 25
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

Joined: Feb 2005
Posts: 25
C
chawni Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2005
Posts: 25
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!

Joined: Sep 2003
Posts: 112
E
Vogon poet
Offline
Vogon poet
E
Joined: Sep 2003
Posts: 112
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

Joined: Feb 2005
Posts: 25
C
chawni Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Feb 2005
Posts: 25
Thanks for that. Found a real good one as back up to my new ini file. laugh


Link Copied to Clipboard