Password System For Doors
Password System For Doors
A door that reacts to a password.
The door, with a fail message requesting the password
@open East;e
@link East = #1349
@lock/Basic East=#1352
@ODROP East=enters through the double doors
@OSUCCESS East=enters the room beyond the double doors to the east.
@SUCCESS East=You enter the room beyond the double doors.
@OFAILURE East=The gargoyle's eyes suddenly glow green, and around the ring of the knocker it says:%r"What'sh the passhword?"
@FAILURE East=The gargoyle's eyes suddenly glow green, and around the ring of the knocker it says:%r"What'sh the passhword?"
@DESCRIBE East=A pair of huge wooden doors stands to the east. A grotesque gargoyle knocker sits on the right hand door, grinning.
The knocker, which responds to the password, "please". In this case, it also responds to an erronious password, "fuckwit", that a clue giver elsewhere gives people.
@create Gargoyle Knocker
@lock/Basic Gargoyle Knocker=#your dbref
&OPEN_DOOR_FAIL Gargoyle Knocker=$fuckwit:@emit The Gargoyle's eyes turn a livid red as it becomes enraged. It says:%r"You DARE insult ME?!? You shall pay for your insolence!"%rThe gargoyle shoots bolts of lighting from it's eyes, killing you instantly.;@tel %#=home
&OPEN_DOOR Gargoyle Knocker=$please:@emit You hear a click;@unlock #1350;@wait 20=@lock #1350=#1352;@wait 20=@emit You hear a clunk.
@DESCRIBE Gargoyle Knocker=The gargoyle grins at you, it's fangs clamped around a ring.
@set Gargoyle Knocker=!no_command
Return to MUSH Code Page