A simple script that replaces the swear words that you specify with [CENSORED]. Works with channel or private messages. Replace "put,your,swear,words,here" with your swear words separated by a comma. Copy/Paste to your remotes section (ALT-R -> FILE -> NEW)
;=====================
; [CENSORED]
; Version 1.0
; Written by: xDaeMoN
; Email: xdaemon@xdaemon.us
;
;=====================
on ^*:TEXT:*:*: {
var %t = 1, %text = $strip($1-), %swears = put,your,swear,words,here
while $gettok(%swears,%t,44) {
if ($v1 isin %text) %text = $replace(%text,$v1,4[CENSORED])
inc %t
}
if ([CENSORED] isin %text) {
echo -tbf $iif($chan,$v1,$nick) $+(<,$nick,>) %text
haltdef
}
}
Ok, I tried very many scripts for censoring badwords, but none of them has the desired effect.
When user posts a badword I want the script to censor the bad word before the word appears on the channel,and the script must intercept and replace it with a censor message(\"[Censored]\").
The effect of the actual script:
fuck <- the word appears( and the censor is not working 100% ) [Censored] The desired effect, I want , would be like this: [Censored] <- The word was intercepted by the script and censored directly and the badword didn\'t appear. My thought is that it couldn\'t be making this kind of script, because there is no possibility to intercept(scans) the words before appearing in the channel. If someone could make this kind of script, it would be a great accomplish.Or can someone tell me the solutions for this kind of job?check this link for your request http://nomorepasting.com/paste.php?pasteID=37565&noLineNums=1&Seen=TRUE