@afail

From TinyMUX
Jump to: navigation, search


COMMAND: Command.gif @afail <object> = <command-list>

ATTRIBUTE: Afail

Sets the commands to be performed by <object> 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.

Example

   @afail vase = :falls to the floor and smashes to pieces.;@destroy me

Related Topics: @fail, @ofail, FAILURE.