
Usage: alias [alias name] [command]

An alias is a single command used to represent one or more other commands.
The [ALIAS](/help/commands/alias-aliases/) command can be used to manipulate your character&#39;s aliases.  Type
[ALIAS](/help/commands/alias-aliases/) alone to see a list of your currently defined aliases.

  &gt; alias

Type [ALIAS](/help/commands/alias-aliases/) &lt;alias name&gt; &lt;command&gt; 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](/help/commands/alias-aliases/) command itself, of course).

  &gt; alias gbb get bread bag
  &gt; alias gac get all corpse

Type [ALIAS](/help/commands/alias-aliases/) &lt;alias-name&gt; to delete an alias that has already been defined.

  &gt; alias gbb

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

  &gt; alias eat get bread bag; eat bread

Note that the &#39;eat&#39; contained within the eat alias is interpreted as the [MUD](/database#item-5810)&#39;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:

  &gt; alias killem cast &#39;fireball&#39; $1; cast &#39;harm&#39; $2
  &gt; killem fido mage

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

  &gt; alias helpem cast &#39;heal&#39; $1; cast &#39;bless&#39; $1; cast &#39;armor&#39; $1

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

  &gt; alias tr tell rasmussen $*
  &gt; tr hi there, how are you today?
  You tell Rasmussen, &#39;hi there, how are you today?&#39;

See also: [!](/help/commands/!/) [^](/help/commands/!/)

Full documentation: [Docs Game Commands](/docs/game/commands/)
