mIRC Home    About    Download    Register    News    Help

Print Thread
#69911 31/01/04 09:09 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
Hello, i'm making a script...


and.. i need... like. if sombody write http://hot.lesbo.net/nude

then "censor" the url to e.g: <illegal url>

Hello, please wisit <illegal url> for free porn.. wink

I make this since some ppl are stupid enouge to click on these urls.. :tongue:

tnx..

#69912 31/01/04 09:27 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
You cant alter the text from others in a channel.
Only how YOU well see it.

#69913 31/01/04 09:28 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
I KNOW THAT.........

But.... i'm making it for my script so the ppl that use it dosen't click on the bad links...

Like...

<lamedude> Hey, check out http://home.bad.address.com/virus.andshit.jpg

and show this in the script:::

<lamedude> Hey, check out <ignored url>

Last edited by Deep3D; 31/01/04 09:36 PM.
#69914 31/01/04 09:35 PM
Joined: Dec 2003
Posts: 199
K
Vogon poet
Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Well, I'm guessing, depending on what server you're on, There's a filter word list... and it'll censor it. Other than that, I'm not sure if there's any other way to do it. =)


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#69915 31/01/04 09:43 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
/help on text

thats where you want to look.

#69916 31/01/04 09:47 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
that's mutch for help..

i don't find anything in there that tell's me how to "sensur" a word..

#69917 31/01/04 09:54 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
$replace or $remove smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#69918 31/01/04 10:08 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
can u make it? =p

i have this:

Code:
  on 1:text:*http*:#:{
  if kathrinee.prv.pl isin $1- goto end
  else halt
  :end
  if $nick != %http.logging {
    echo.grey It seems like $nick is infected with a virus, please don't click on any links sendt from him!
    set %http.logging $nick
  }
}

#69919 31/01/04 10:44 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
I use this:

Code:
ON ^*:HOTLINK:http*//*.*:*:return
ON *:HOTLINK:http*//*.*:*: {
  if (sex isin $1 || mesra isin $1 || myhanjeng isin $1 || amyliza isin $1 &amp;_
    || thilaksharma isin $1 || xtra isin $1 || porn isin $1 || jotdot isin $1 &amp;_
    || horny isin $1 || girls isin $1 || arab isin $1 || girlz isin $1 || warez isin $1 &amp;_
    || wares isin $1 || usa_news isin $1 || seks isin $1 || .com.br isin $1 &amp;_
    || ewebgroup isin $1 || yanipinky isin $1 || vibrator isin $1 || dildo isin $1 &amp;_
    || Whem isin $1 || klip isin $1 || scripts isin $1 || cyber isin $1 &amp;_
    || the_design isin $1 || mypersonalcupid isin $1 || saudi isin $1 || .exe isin $1 &amp;_
    || .dat isin $1 || .pif isin $1 || .bat isin $1 || .vbs isin $1) {
      echo %ta 4&gt;Warning: This website could contain a virus. The script &amp;_
        is blocking the site to protect your computer.
    halt
  }
}
The words used are just words that have either been found in ON JOIN ads or are words commonly expected to be in such ads. I also added some file extensions to the 'keyword' list. This is taken from my script which is known to work though I haven't tested this part on it's own.

#69920 31/01/04 10:53 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
tnx

#69921 31/01/04 10:57 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Oh my god. That's horrendous! laugh

if ( $count($1-, sex, mesra, myhanjeng, amyliza, thilaksharma, xtra, porn, jotdot, horny, girls, arab, girlz, warez, wares, usa_news, seks, .com.br, ewebgroup, yanipinky, vibrator, dildo, Whem, klip, scripts, cyber, the_design, mypersonalcupid, saudi, .exe, .dat, .pif, .bat, .vbs) )

- Raccoon

PS. What's a whem or a klip?


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#69922 31/01/04 11:11 PM
Joined: Dec 2003
Posts: 199
K
Vogon poet
Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
alias spam { var %x = 1
while (%x <= $lines(spam.txt)) {
if ($read(spam.txt,%x) isin $gettok($1-,1-,32)) { msg $chan The Above Link may contain harmful devices that can destroy your computer. | halt }
inc %x
}
}
on *:TEXT:*:#:{ /spam $1- }

First: type /write spam.txt WORD
So for example: /write spam.txt lesbians
Anyone what would say www.lesbians.com it would message the channel:
"The Above Link may contain harmful devices that can destroy your computer."
~Krim

Last edited by Kriminal; 31/01/04 11:12 PM.

Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#69923 31/01/04 11:13 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
What do you have against lesbians? shocked


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#69924 31/01/04 11:16 PM
Joined: Dec 2003
Posts: 199
K
Vogon poet
Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Nothing, OF COURSE, but its just an example :P


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#69925 31/01/04 11:21 PM
Joined: Dec 2003
Posts: 199
K
Vogon poet
Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Wait Actually, Deep
*** Updated ***
alias spam { var %x = 1
while (%x <= $lines(spam.txt)) {
if ($read(spam.txt,%x) isin $gettok($1-,1-,32)) { msg $chan The Above Link may contain harmful devices that can destroy your computer. | halt }
inc %x
}
}
on *:TEXT:*:#Channel:{ if (HTTP:// isin $1-) || (www. isin $1-) { /spam $1- } }
Works the same, just that if you say plain "lesbians" it messages the channel, now I made it so it has to be like www.lesbians.net, www.lesbians.com, or http://lesbians.com - ECT!


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#69926 31/01/04 11:30 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
PS. What's a whem or a klip?

Only two unknown words? What's a mesra, myhanjeng, amyliza, thilaksharma, jotdot or yanipinky?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#69927 01/02/04 01:07 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
You'd have to ask the clowns who made the sites as to what the user IDs mean - bear in mind that most are in foreign langauges though. When I did DNS checks on the URLs most when to South East Asian servers.


Link Copied to Clipboard