mIRC Home    About    Download    Register    News    Help

Print Thread
Annoying ads/spam via private msg #111047 12/02/05 03:34 PM
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

Re: Annoying ads/spam via private msg #111048 12/02/05 03:39 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
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
Re: Annoying ads/spam via private msg #111049 12/02/05 03:40 PM
Joined: Sep 2003
Posts: 112
E
elegantlywasted Offline
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.
Re: Annoying ads/spam via private msg #111050 12/02/05 03:42 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?

Re: Annoying ads/spam via private msg #111051 12/02/05 03:43 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
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
Re: Annoying ads/spam via private msg #111052 12/02/05 03:44 PM
Joined: Sep 2003
Posts: 112
E
elegantlywasted Offline
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

Re: Annoying ads/spam via private msg #111053 12/02/05 05:09 PM
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.

Re: Annoying ads/spam via private msg #111054 12/02/05 05:20 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
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
Re: Annoying ads/spam via private msg #111055 12/02/05 05:25 PM
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.

Re: Annoying ads/spam via private msg #111056 12/02/05 07:11 PM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
3 to 1 you went file/unload

Re: Annoying ads/spam via private msg #111057 12/02/05 07:19 PM
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

Re: Annoying ads/spam via private msg #111058 12/02/05 07:22 PM
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!

Re: Annoying ads/spam via private msg #111059 12/02/05 07:53 PM
Joined: Sep 2003
Posts: 112
E
elegantlywasted Offline
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

Re: Annoying ads/spam via private msg #111060 12/02/05 08:35 PM
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