Things and Exits in Columns

An @exitformat that places things and exits 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 Things and Exits in Columns

@create Things and Exits in Columns
@set Things and Exits in Columns = VISUAL
@set Things and Exits in Columns = NO_COMMAND
@CONFORMAT Things and Exits in Columns=[setq(W, 30)][ljust(ansi(h, Things), %qW)][ansi(h, Exits)]%r[mix(line, %0, lvexits(me), %b, %r)]
@set Things and Exits in Columns/CONFORMAT=no_command prefixmatch
@EXITFORMAT Things and Exits in Columns=%b
@set Things and Exits in Columns/EXITFORMAT=no_command prefixmatch
&LINE Things and Exits in Columns=[if(%0, ljust(name(%0), %qW), space(%qW))][if(%1, name(%1))]