;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***************************
1. First go in to the room you want Language Protection in. Next go into wizard or god mode and go into authoring mode by clicking on Wizard (in the menu bar) then go down to authoring mode. Note: I will use the word spot instead of door sometimes. A door to me is a spot you click on and it takes you to a room, if it doesn't do this I call it a spot.
2. Create a new spot by going to Wizard and click new door. This spot does not need to be clicked by users so make it small and put it in a corner. Double click the spot to load its info.
3. Next click on Edit Script. Insert the script at the top of the page. The easiest way to do this is to cut and paste it.
4. Now exit authoring mode and try out the script. The commands are:
; 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
After you pick a level try to swear, did it work? If
not make sure you put the script in correctly and activated it correctly.
If it still does not work find someone online to help you or email
me.
Note: You must be in Wizard or God mode to change the
protection level.
|
|
|