Knowledgebase
Storm Palace Hosting
>
Storm Hosting Help Desk
>
Knowledgebase
Ask a question:
Loading knowledgebase suggestions...
ISGOD/ISWIZARD
Solution
ISGOD/ISWIZARD
If you want a God only room, first god up and type 'wizardsonly, then place this script in the room..
ON ENTER { { 86 GOTOROOM } ISGOD NOT IF }
Wizards can try and enter the room and they'll be sent back to
the gate.
You can use this same script and make it an ISWIZARD replacing the ISGOD.
--------------------------------------------------------------------------------
The same script but with a message for non-gods and makes the god say they can stay.
ON ENTER {
{ "I am a God I can Stay" SAY }
{ "Sorry only Gods Allowed in this room" LOCALMSG
86 GOTOROOM }
ISGOD IFELSE }
Another variation of the above script but allows the use of USERNAMES. If Tom is the god, he can stay. If Dick is a wizard, he cant but is told who to talk to about hanging around longer the next time. ;-)
ON ENTER {
{ "I am an owner, I can stay" SAY } ISGOD IF
{ { "Sorry, only owners allowed in this room" LOCALMSG 100 GOTOROOM }
ISGOD NOT IF } 100 ALARMEXEC
{ "Welcome Tom!" LOCALMSG } USERNAME "Tom" == IF
{ "Sorry Dick, this is a room for owners only. Perhaps you should talk to
Tom." LOCALMSG } USERNAME "Dick" == IF }
---------------------------------------------------------------------------------
This can really be used by anyone as a neat little quick script to add to your cyborg so you only have to say gate at any palace you are and will be taken to room 86. I only put this here to show you how easy it is to make a script wizard only.
ON OUTCHAT {
{ "" CHATSTR =
86 GOTOROOM
} CHATSTR "gate" == ISWIZARD AND IF }
Was this article helpful?
yes
/
no
Article details
Article ID:
298
Category:
Room Scripts
Date added:
10-05-2011 23:51:56
Views:
398
Rating (Votes):
(0)
<<
Go back
Powered by
Help Desk Software
HESK™