Skip to content

Monikers

Monikers are ansi templates which allow objects to have colored names. They can be set via the @moniker command, and can always be viewed via the moniker() function and %k substitution. Monikers may also be used automatically by MUSH commands, depending on how the “monikers” @config option is set.

By default, anyone can use the @moniker command to set a moniker for themselves or their objects. However, where monikers are displayed - and for what types of objects - is controlled via the “monikers” @config option.

The “monikers” @config option should be a list of one or more of these:

chat - In @chat messages
say - Non-channel speech (say, pose, page, @wall, etc)
movement - Movement messages (Joe has arrived., exit @osucc/@odrop, etc)
look - “look” - contents/exit lists, when looking at an object, etc
unparse - In “examine”, and other places which show Name(#123flags)
who - In WHO, DOING and SESSION
system - All other messages generated by the MUSH with player names.
announcements - Connection messages and “GAME: *” announcements.
everywhere - All of the above.

You can also limit the types of objects which monikers are used for with ‘players’, ‘things’, ‘rooms’, and/or ‘exits’. Use ‘alltypes’ for all.

Objects with the MONIKER flag set will always be monikered (though still only in the places specified), even if their type is excluded from the “monikers” option; if no types are included, only objects set MONIKER will be monikered.

Setting the option empty disables all automatic displaying of monikers, and they will only be available via softcode (moniker() and %k).

You can use !<value> to remove something, so ‘everywhere !who’ shows monikers everywhere except in WHO, ‘!everywhere !alltypes’ will disable them entirely, etc.

::: seealso