A multi-themed online text adventure

alias aliases

An alias is a single command used to represent one or more other commands.
The ALIAS command can be used to manipulate your character's aliases.  Type
ALIAS alone to see a list of your currently defined aliases.

You need to type save in order to save your aliases.

> alias

Type ALIAS <alias name> <command> to create a new alias.  The alias name must
be one word.  The command can be any string.  Aliases may not be nested or
used recursively.  Any command may be overriden by an alias (other than the
ALIAS command itself, of course).

> alias gbb get bread bag
> alias gac get all corpse
> alias gacc get all.coins all.corpse

Type ALIAS <alias name> to see whether the alias <alias name> is already
defined.
 
> alias gbb

Type UNALIAS <alias-name> to delete an alias that has already been defined.

> unalias gbb

A semicolon (";") can be used to define multiple actions to be taken with
a single alias.

> alias eat get bread bag; eat bread

Note that the 'eat' contained within the eat alias is interpreted as the MUD's
internal eat command; aliases may not be nested or used recursively.  The
variables $1, $2, ... $9 may be used to represent arguments given with
an alias.  For example:

> alias killem cast 'fireball' $1; cast 'harm' $2
> killem fido mage

Would cast fireball on fido, followed by casting harm on mage.  Variables
may be used repeatedly and in any order:

> alias helpem cast 'heal' $1; cast 'bless' $1; cast 'armor' $1
> alias ssc search $1.corpse; get all $1.corpse

The special variable $* represents the entire input line after an alias:

> alias tr tell rasmussen $*
> tr hi there, how are you today?
You tell Rasmussen, 'hi there, how are you today?'
See Also: !, ^
Character: Password: