Help

BEHAVIOR-OPENSESAME

For immortals Also: B-OPENSESAME

Generic Room Behavior

This behavior can be used to automatically open a given door or object whenever a player performs an action in the given room. If the optional room argument is supplied, this behavior will open up a door in the specified room, otherwise the current room will be assumed. If the door or object is locked, it will also be unlocked by this behavior.

Arguments:<trigger> [<room>] <object name>|<<door name> [door direction]> [.]
Next Lines:[<behavior responses>]
Example:rb room opensesame hourly steel-door

Where a number names a room, a creature or an object, its address works too: club.west-bridge, or .west-bridge in the behaviour's own zone. The number is the old form (BEHAVIOR-ADDRESSES).