MongooseA text-based world full of questionable inventions.

All help topics · Link to this topic

Showing help on '@add-alias'

Builders only.
Syntax: @addalias <alias>[,...,<alias>] to <object>
@addalias <alias>[,...,<alias>] to <object>:<verb-name>
@addalias# <alias>[,...,<alias>] to <object>:<verb-number>

The first form is used to add aliases to an object's list of aliases. You can separate multiple aliases with commas. The aliases will be checked against the object's current aliases and all aliases not already in the object's list of aliases will be added.

Example:
Muchkin wants to add new aliases to Rover the Wonder Dog:
@addalias Dog,Wonder Dog to Rover
Since Rover the Wonder Dog already has the alias "Dog" but does not have the alias "Wonder Dog", Munchkin sees:
Rover the Wonder Dog(#4237) already has the alias Dog.
Alias Wonder Dog added to Rover the Wonder Dog(#4237).

If the object is a player, spaces will also be assumed to be separations between aliases and each alias will be checked against the Player Name Database to make sure no one else is using it. Any already used aliases will be identified. Certain other classes of objects (e.g., mail-recipients) also enforce rules about what aliases may be given them.

Example:
Munchkin wants to add his nicknames to his own list of aliases:
@addalias Foobar Davey to me
@Addalias recognizes that Munchkin is trying to add an alias to a valid player and checks the aliases against the Player Name Database. Unfortunately, DaveTheMan is already using the alias "Davey" so Munchkin sees:
DaveTheMan(#5432) is already using the alias Davey
Alias Foobar added to Munchkin(#1523).

The second form of the @addalias command is for use by programmers, to add aliases to a verb they own. All commas and spaces are assumed to be separations between aliases.

The third form, @addalias#, is for unambiguously referring to a verb on an object in case there are more than one with the same name. The verb number is the 1-based index of the verb as it appears in the verbs() (or @verbs) output list.