mIRC Home    About    Download    Register    News    Help

Print Thread
#67449 11/01/04 04:57 PM
Joined: Jan 2004
Posts: 1
A
ainsy Offline OP
Mostly harmless
OP Offline
Mostly harmless
A
Joined: Jan 2004
Posts: 1
I am a new user of mirc. One of the reasons that I use it is because there is no place for porn, but unfortunately I am constantly receiving messages telling me to visit websites where I apparently you can view nude pictures. As I have 2 young children at home, I am very concerned about them being subject to this type of contact. Can anyone tell me how to stop these messages, if not, I will have to delete mirc from my hard drive, which would be a shame as I enjoy using it.

Any help will be appreciated.

#67450 11/01/04 06:14 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
try add this in your remote (ALT + R) in your mirc..
Code:
#spamblock on
on 1:text:*XXX*:?:{ closemsg $nick | echo -a Spam Msg Recieved From $nick | .notice $nick Spam is ignored!
on 1:text:*http*:?:{ closemsg $nick | echo -a Spam Msg Recieved From $nick | .notice $nick Spam is ignored!
}
#spamblock end
menu channel,query {
Spam Blocker
.$iif($group(#spamblock) == on,$style(1)) Enabled:{ .enable #spamblock | echo -a Spam Blocker enabled.
.$iif($group(#spamblock) == off,$style(1)) Disabled:{ .disable #spamblock | echo -a Spam Blocker disabled.

This will close any private messages that have "http" or "XXX" in it.. this is what i use to get rid of all this lame online spammers.. how ever you wont be able to recieve any urls in private.. but if you want to recieve a url from somone, just disable it, just right klick in a channel or query window for menu. smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#67451 11/01/04 08:09 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
ainsy: It's unfortunate that you have to receive objectionable content while on IRC, though it is only the fault of the mIRC chat client as much as your ears are at fault for overhearing someone swear.

There are some options that you might pursue however, such as finding a differen't network to chat on with a lower spam rate, or simply ignoring all messages from strangers. You might even abe able to script a solution that will block all questionable messages with fair accuracy.

Here is an example of one such scripted solution. To install this script, follow these instructions first.
Press ALT+R and select the "Remote" tab (if it isn't already).
Goto File > New
Goto File > SaveAs... type: Myscript.mrc (and press Enter).

You should have a clear area to type in now. Enter this code.

Code:
On ^*:OPEN:?: {
  if ($count($strip($1-),hello,asl,a/s/l,ctc,c2c,slm,salam,hallo,cyber,chat)) $&
    var %reason = Contains possible solicitation.
  if ($count($strip($1-),sex,money,xxx,porn,pr0n,naked,nude,p[color:red]*[/color]ssy,c[color:red]*[/color]ck,b[color:red]*[/color]tch,s[color:red]***[/color],f[color:red]***[/color],c[color:red]***[/color])) $&
    var %reason = Contains explicit material.
  if ($count($strip($1-),http://,ftp://,www.,.com,.htm,.jpg)) $&
    var %reason = %reason Contains a website url.
  if (%reason) { 
    echo 4 -tsi * Ignoring message(s) from $nick $iif($comchan($nick,1),( $+ on $ifmatch $+ )) $&
      because it: %reason
    if ($ifmatch) echo 4 -ti $ifmatch * Ignoring message(s) from $nick because it: %reason
    ignore -pu60 $nick 3
    HALT
} }


Replace the * with whatever you feel appropriate.

If you like this script, do send me money. smirk

- Raccoon
(ps. i haven't tested this script per-say... it just flowed from my fingers and may require some critiquing from my peers.)
((paypal :: raccoon@mircscripter.com))


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#67452 11/01/04 08:21 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
It works perfectly smile

Just a note to ainsy however:

When you copy and paste the code it will end up all in ONE line in your remotes. Flicking between windows, make sure you separate the lines EXACTLY like Raccoon has posted above, otherwise it won't work, or it will echo incorrect error messages.

Edit: Almost forgot! * Mentality gives Raccoon and sparta peanutbutter cookies *G*

Happy chatting smile

Regards,


Mentality/Chris
#67453 11/01/04 08:51 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
want to ad:
You paste it in wordpad first .. then in to remote to solve that problem, it looks like it should after that smile "it dont have formated text when you copying it from this site, thats why it ends up in one line"


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#67454 13/01/04 07:47 AM
Joined: Feb 2003
Posts: 372
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2003
Posts: 372
This seems a bit over the top to me though. I've seen some of the porn sites that circulate on IRC, and they're often rather innocent. If I were a parent, I'd want my kids to see more of these sites to keep them away from the really kinky ones until they got older. ^_^ Good luck though!

AND GOOD LUCK FIGHTING SPAM!

#67455 13/01/04 06:28 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
YEAH! pr0n as a learning aid!


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#67456 13/01/04 06:57 PM
Joined: Jul 2003
Posts: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
why can u be my parent?!?! cool


http://MTec89Net.com
irc.freenode.net #MTec89Net
#67457 13/01/04 11:20 PM
Joined: Dec 2002
Posts: 3,127
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 3,127
considering how often they are trojans, that certainly would be a "learning" experience to be avoided


ParaBrat @#mIRCAide DALnet
#67458 13/05/04 03:40 AM
Joined: Oct 2003
Posts: 143
D
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2003
Posts: 143
Ha ya then you would be getting more messages to "download this". I had to set a network for a family down the street and they had mIRC. I looked in there remote and found like 5 different Viruses type things it was crazy and they all pm you telling you to connect to DCC or "go to this site"


if (Windows isin %txt.1) { /kick # $nick Windows is a badword tisk tisk tisk. }

Link Copied to Clipboard