;Author:
CHEF
;This is a language Protection script, it is a protection
;agains swearing. There are 3 levels of security depending on
; how you feel about swearing.
; LEVEL Activation words
; Level 1 - pottymouth low - beeps the words off the screen
; Level 2 - pottymouth medium - does level 1 and tells them to quit it
; Level 3 - pottymouth high - does level 1 & 2 and tells all wizards
and gods who did it
; Off - pottymouth off - no protection, turns the script off
; The person who activates or changes the security level
;has to be a wizard or god.
;This script goes in its own spot on a palace. Its ON OUTCHAT
; Warning there is swearing below in this script. It
has to be
; there for the machine to protect you from it.
; Just givin a warning
ON OUTCHAT {
lowsec GLOBAL
medsec GLOBAL
highsec GLOBAL
{ ""CHATSTR =
} CHATSTR "damn" GREPSTR lowsec 1 == AND IF
{ ""CHATSTR =
} CHATSTR "fuck" GREPSTR lowsec 1 == AND IF
{ ""CHATSTR =
} CHATSTR "shit" GREPSTR lowsec 1 == AND IF
{ ""CHATSTR =
} CHATSTR "bastard" GREPSTR lowsec 1 == AND IF
{ ""CHATSTR =
} CHATSTR "bitch" GREPSTR lowsec 1 == AND IF
{ "Please Stop using that type of language"
STATUSMSG
""CHATSTR =
} CHATSTR "damn" GREPSTR medsec 1 == AND IF
{ "Please Stop using that type of language"
STATUSMSG
""CHATSTR =
} CHATSTR "fuck" GREPSTR medsec 1 == AND IF
{ "Please Stop using that type of language"
STATUSMSG
""CHATSTR =
} CHATSTR "shit" GREPSTR medsec 1 == AND IF
{ "Please Stop using that type of language"
STATUSMSG
""CHATSTR =
} CHATSTR "bastard" GREPSTR medsec 1 == AND IF
{ "Please Stop using that type of language"
STATUSMSG
""CHATSTR =
} CHATSTR "bitch" GREPSTR medsec 1 == AND IF
{ "`page I am a POTTY MOUTH" SAY
"Please Stop using that type of language" STATUSMSG
""CHATSTR =
} CHATSTR "damn" GREPSTR highsec 1 == AND IF
{ "`page I am a POTTY MOUTH" SAY
"Please Stop using that type of language" STATUSMSG
""CHATSTR =
} CHATSTR "fuck" GREPSTR highsec 1 == AND IF
{ "`page I am a POTTY MOUTH" SAY
"Please Stop using that type of language" STATUSMSG
""CHATSTR =
} CHATSTR "shit" GREPSTR highsec 1 == AND IF
{ "`page I am a POTTY MOUTH" SAY
"Please Stop using that type of language" STATUSMSG
""CHATSTR =
} CHATSTR "bastard" GREPSTR highsec 1 == AND IF
{ "`page I am a POTTY MOUTH" SAY
"Please Stop using that type of language" STATUSMSG
""CHATSTR =
} CHATSTR "bitch" GREPSTR highsec 1 == AND IF
{
{ 1 lowsec =
0 medsec =
0 highsec =
"Low Security" STATUSMSG
"Language protection is set to Low Security" LOCALMSG
"" CHATSTR =
} ISWIZARD IF
}CHATSTR "pottymouth low" == IF
{
{ 0 lowsec =
1 medsec =
0 highsec =
"Medium Security" STATUSMSG
"Language protection is set to Medium Security" LOCALMSG
"" CHATSTR =
} ISWIZARD IF
}CHATSTR "pottymouth medium" == IF
{
{ 0 lowsec =
0 medsec =
1 highsec =
"High Security" STATUSMSG
"Language protection is set to High Security" LOCALMSG
"" CHATSTR =
}ISWIZARD IF
}CHATSTR "pottymouth high" == IF
{
{ 0 lowsec =
0 medsec =
0 highsec =
"No Security" STATUSMSG
"Language protection is turned off" LOCALMSG
"" CHATSTR =
} ISWIZARD IF
}CHATSTR "pottymouth off" == IF
; Author CHEF
; Potty Mouth protection
; http://iptscrae.home.ml.org
}
;***********END OF SCRIPT***************************
|