Align Players And Objects In Columns

A @conformat that places players and objects in seperate columns.

Author: Raevnos
Category: Building
Compatibility: CobraMUSH, PennMUSH, TinyBit.

Instructions

Copy and paste the below code into a compatible MUSH or MUX.

MUSHCode for Align Players And Objects In Columns

@create Align Players And Objects In Columns
@set Align Players And Objects In Columns = LINK_OK
@set Align Players And Objects In Columns = ENTER_OK
@CONFORMAT Align Players And Objects In Columns=if(strlen(%0), setq(0, lvplayers(me))[setq(1, setdiff(%0, %q0))]Contents:%r[ljust(Players, 38)]Things[mix(format_row, %q0, %q1)])
@set Align Players And Objects In Columns/CONFORMAT=no_command
@DESCRIBE Align Players And Objects In Columns=This is a conformat that puts players and things in two different columns. Suitable for use as a @parent here on M*U*S*H, and on other mushes with some slight adaptations.
@set Align Players And Objects In Columns/DESCRIBE=no_command visual public nearby
&FORMAT_ROW Align Players And Objects In Columns=%r[ljust(left(if(%0, ansi(h, name(%0))), 37), 38)][ljust(left(if(%1, ansi(h, name(%1))), 37), 38)]

think @parent room(s) to [num(Align Players And Objects In Columns)]