From TinyMUX
Jump to: navigation, search


COMMAND: @exitto <object> = <dbref function> ATTRIBUTE: Exitto

This attribute is used to create variable exits. If an @exitto is present on an exit, and the <dbref function> returns a number or a dbref, the exit behaves as if the returned dbref is the exit's destination.

Because this can be used to go anywhere, @exitto is a wizard-only attribute.

Even though @exitto take precendence over the static destination of an exit, don't forget to @link all exits anyway. Anyone can @link an unlinked exit and therefore 'own' and @destroy it.


> @open FooExit
> @exitto FooExit=#123
> FooExit

Related Topics: EXITS.