@ofail

From TinyMUX
Jump to navigation Jump to search


@OFAIL

COMMAND: @ofail <object> = <message>

ATTRIBUTE: Ofail

Sets the others failure message for <object>. This message is seen others in the same location as 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.

Examples

 @ofail table = tries to pick up the table, but it is too heavy.  <thing>
 @ofail doorway = tries the knob on the door, to no avail.         <exit>

Related Topics: get, look, @afail, @fail, FAILURE.