PDA

View Full Version : Lock Scripts


complexity
12-27-2004, 12:13 PM
There are plenty more lock scripts coming.....

Add this script to a door and make sure you make the door type lockable. Then just say lock or unlock to let people who are not operators in.

ON ENTER{
"@500,10 Type \"Lock\" or \"Unlock\" to open or close the room" localmsg}
ON OUTCHAT{ { "Door Locked" statusmsg ME LOCK
"" CHATSTR = } "lock" CHATSTR == if { "Door Unlocked" statusmsg
ME UNLOCK "" CHATSTR = } "unlock" CHATSTR == if}