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

@exitto

command: @exitto = attribute: exitto

this attribute is used to create variable exits. if an @exitto is present on an exit, and the 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 precedence 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.

example:

@open fooexit opened. @exitto fooexit=#123 set. fooexit room123(#123)

related topics: exits.

Clone this wiki locally