Aliases
Every player has macro capabilities and can give nicknames to commonly
referred to items or creatures. The following commands are available:
Command format What it does
------ ------ ---- -- ----
alias Lists all aliases
name Lists all nicknames
alias verb Lists alias for verb
alias letters* Lists all which begin with the letter/letters.
name nickname Lists name for nickname
alias verb cmd All subsequent instances of verb at the beginning
of a sentence will be replaced with cmd.
name nickname name nickname can be used instead of name for most
purposes.
unalias verb Removes alias for verb
unname nickname Removes the nickname nickname
Aliases can also have parameters in them. Parameters are of the form %? where ?
is a number. The ?'th argument to the alias will then be substituted for the
%?. Another form, %?+ is replaced by all the arguments from the ?th onwards.
%* will be replaced by the whole argument given to the alias.
Defaults can be given to any missing arguments like so:
%33rd (means third argument, default to 3rd)
The actual command will be echoed unless the alias is preceeded by a #.
Examples:
alias gc give %1 coins to %2
alias tf tell fermat
alias givec #give coins to
will NOT echo 'give coins to who' when you type 'givec who'
alias swho smile %1 at %2
then 'swho happily,darkstar' will result in 'smile happily at darkstar'.
name ds darkstar
then 'look at ds' will be the same as 'look at darkstar'.
alias x look at %*
alias g grin %*mischievously
alias yas say %5 %4 %3 %2 %1 %6+
alias gf get %1money from %2corpse %3+