Blood Dusk Helpfiles

alias

Usage
alias <alias name> <command>

Description
An alias is a single command used to represent one or more other commands. The alias command is used to view and create your character's aliases. Without any parameters, this command will show your character's currently defined aliases.

To create a new alias, the first parameter should be a single word that will be used as the command. Everything else following that is the aliased text (in other words, the text that you are saving yourself from typing in the future). Blood Dusk does not support recursive or nested aliases. You may override existing commands with your own aliases.

If you'd like to delete an existing alias, use the name of that alias as the only parameter to the alias command. For example, 'alias lg' would unalias the 'lg' alias.

A semicolon (';') can be used to place multiple commands into a single alias. The variables $1 through $9 may be used to access the parameters passed to the alias; $* will access ALL the parameters in one variable.

Examples
alias gbb get bread bag
alias eb get bread bag; eat bread
alias eatem eat $1; eat $2; eat $3
alias announce shout I have an annoucement: $*

See Also
commands, repeat
(home)