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

@fail

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

Clone this wiki locally