& @afail
Syntax: @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 and smashes to pieces.;@destroy me
See also: @fail, @ofail, FAILURE