|
Joined: Dec 2002
Posts: 483
Pan-dimensional mouse
|
OP
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..  I make this since some ppl are stupid enouge to click on these urls.. :tongue: tnx..
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
You cant alter the text from others in a channel. Only how YOU well see it.
|
|
|
|
Joined: Dec 2002
Posts: 483
Pan-dimensional mouse
|
OP
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.jpgand show this in the script::: <lamedude> Hey, check out <ignored url>
Last edited by Deep3D; 31/01/04 09:36 PM.
|
|
|
|
Joined: Dec 2003
Posts: 199
Vogon poet
|
Vogon poet
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 -
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
/help on text
thats where you want to look.
|
|
|
|
Joined: Dec 2002
Posts: 483
Pan-dimensional mouse
|
OP
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..
|
|
|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
$replace or $remove
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Dec 2002
Posts: 483
Pan-dimensional mouse
|
OP
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483 |
can u make it? =p i have this: 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
}
}
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
I use this: ON ^*:HOTLINK:http*//*.*:*:return
ON *:HOTLINK:http*//*.*:*: {
if (sex isin $1 || mesra isin $1 || myhanjeng isin $1 || amyliza isin $1 &_
|| thilaksharma isin $1 || xtra isin $1 || porn isin $1 || jotdot isin $1 &_
|| horny isin $1 || girls isin $1 || arab isin $1 || girlz isin $1 || warez isin $1 &_
|| wares isin $1 || usa_news isin $1 || seks isin $1 || .com.br isin $1 &_
|| ewebgroup isin $1 || yanipinky isin $1 || vibrator isin $1 || dildo isin $1 &_
|| Whem isin $1 || klip isin $1 || scripts isin $1 || cyber isin $1 &_
|| the_design isin $1 || mypersonalcupid isin $1 || saudi isin $1 || .exe isin $1 &_
|| .dat isin $1 || .pif isin $1 || .bat isin $1 || .vbs isin $1) {
echo %ta 4>Warning: This website could contain a virus. The script &_
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.
|
|
|
|
Joined: Dec 2002
Posts: 483
Pan-dimensional mouse
|
OP
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483 |
|
|
|
|
Joined: Feb 2003
Posts: 2,812
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,812 |
Oh my god. That's horrendous!  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!
|
|
|
|
Joined: Dec 2003
Posts: 199
Vogon poet
|
Vogon poet
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 -
|
|
|
|
Joined: Feb 2003
Posts: 2,812
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,812 |
What do you have against lesbians?
Well. At least I won lunch. Good philosophy, see good in bad, I like!
|
|
|
|
Joined: Dec 2003
Posts: 199
Vogon poet
|
Vogon poet
Joined: Dec 2003
Posts: 199 |
Nothing, OF COURSE, but its just an example :P
Want to Link Servers? PM Me - EliteIRC.dyndns.org -
|
|
|
|
Joined: Dec 2003
Posts: 199
Vogon poet
|
Vogon poet
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 -
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
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.
|
|
|
|
|