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

@conformat

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

replaces the usual "contents:" or "carrying:" format when an object is looked at, by a player-specified contents format. this is evaluated as if it were a description or other 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 contents can be acquired through 'lcon(me)'. the contents name is passed in %1.

one could change the format to 'contents: object1 object2 object3' through '@conformat here = %1 [iter(%0,name(##))]', for example. more complex things are possible.

related topics: @exitformat, @nameformat

Clone this wiki locally