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

@exitformat

command: @exitformat <object> [=<format>]

replaces the usual "obvious exits:" format when an object is looked at, by a player-specified exits format. this is evaluated as if it were a description or similar message on the room. the objects that the looker would normally be able to see is passed as a dbref list in %0; all exits can be acquired through 'lexits(me)'.

one could change the format to 'exits: exit1 exit2 exit3' through '@exitformat here = exits: [iter(%0,name(##))]', for example.

related topics: @conformat, @nameformat

Clone this wiki locally