Exit

From TinyMUX
Jump to navigation Jump to search

An exit is one of the basic MUSH object types. The distinguishing property of an exit is that it forms a connection between a fixed source location and a (possibly fixed) destination. On some MUSH servers, an exit's source may only be a room; on others, it may be a room or a thing.

A player or thing in the source location that attempts to pass through an exit (by giving the exit's name alone or as the argument to the go command) may be transported to the destination location. Exits may be locked to control who may pass through them.

Exits are created with the @open command. The destination of an exit is set (or changed, or unset) with the @link command.

In TinyMUX, the exit type is represented by the flag EXIT (E).

The @exitto attribute is used to create variable exits.