"ALIASES"
Usage: alias [alias name] [command]
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.
> 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 overridden by an alias (other than the
ALIAS command itself, of course).
> alias gbb get bread bag
> alias gac get all corpse
Type ALIAS <alias-name> to delete an alias that has already been defined.
> alias 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
game'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.
Examples:
> alias killem concentrate 'fireball' $1; cconcentrate 'heatwave' $2
> killem soldier dog
Would throw a fireball on soldier, followed by heatwave on the dog.
Variables may be used repeatedly and in any order:
> alias helpem conc 'heal' $1; conc 'bless' $1; conc 'armor' $1
The special variable $* represents the entire input line after an alias:
> alias tr tell Arkane $*
> tr hi there, how are you today?
You tell Arkane, 'hi there, how are you today?'
See also: