@fail

From TinyMUX
Revision as of 03:22, 27 December 2005 by Mark (talk | contribs) (Category, template and wikify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

COMMAND: Command.gif @fail <object> = <message>

ATTRIBUTE: Fail

Sets the failure message for <object>. This message is seen by the actor when one of these events occurs:

  • For exits: Someone tries to traverse the exit but cannot because they fail the exit's default lock or the exit is not linked.
  • For players and things: Someone tries to pick up the object but cannot because they fail the object's default lock.
  • For rooms, players, and things: Someone looks around inside the room, player, or thing and fails the object's default lock.

Substitution and evaluation is performed on the message before it is shown.

Example

 @fail table = It's too heavy to lift!                            <thing>
 @fail doorway = The doorknob does not turn.                       <exit>

Related Topics: get, @afail, @ofail, FAILURE.