From TinyMUX
Jump to navigation Jump to search

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


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.


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

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