@conformat - luxembourg/muxcode-clm GitHub Wiki

@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