Censor Script.
ON ENTER{
censor GLOBAL
{ [ "fuck" "shit" "bitch" "whore" "cunt" "penis" "nigga" "f u c k" " tits"
"nigger" "fuk" "asshole" "cocksucker" "dickhead" "bastard" "suck my"
"fukk"
] badwords =
badwords length nocuss = 0 i =
{ badwords i GET cuss =
{ ""CHATSTR =
"Sorry, but that language isn't allowed on this server. Please refrain from swearing while you chat." LOCALMSG
} CHATSTR LOWERCASE cuss LOWERCASE GREPSTR IF
1 i + i = } { i nocuss < } WHILE
} censor DEF
}
ON OUTCHAT { censor GLOBAL censor EXEC }
If you put the above script at your entrance, and then put the last line in other rooms, those rooms will be censored too.
ON OUTCHAT { censor GLOBAL censor EXEC }
Remember, the person must go to the first room with the script for this to take effect in the other rooms containing just the last line.