ROOM ID 151 PRIVATE NAME "Simple Room Lock" PICT "hcblu.gif" PICTURE ID 1 NAME "lck.gif" TRANSCOLOR 0 ENDPICTURE PICTURE ID 2 NAME "unl.gif" TRANSCOLOR 0 ENDPICTURE DOOR LOCKABLE ID 1 DONTMOVEHERE OUTLINE 225,62 247,62 247,83 225,83 LOC 235,72 PICTS 2,0,0 1,0,0 ENDPICTS SCRIPT ;1. Mark the room as PRIVATE in the room info. ;2. Make a door and set it as "DON'T MOVE HERE" & "LOCKABLE" ;3. Add lock and unlock spot pictures (optional) ;4. Add this script. ON SELECT { { ME UNLOCK } { ME LOCK } ME ISLOCKED IFELSE } ENDSCRIPT ENDSPOT ENDROOM