Skip to content
Luxembourg edited this page Mar 20, 2013 · 4 revisions

@afail

command: @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.

Clone this wiki locally