Jump to content

Alias: Difference between revisions

From AvatarWiki
DaveGarber1975 (talk | contribs)
mNo edit summary
Shalineth (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
Syntax: ALIAS
Syntax: ALIAS <keyword>
Syntax: ALIAS <keyword> <command>:<command>:<command>.......</pre>
Typing ALIAS with no arguments displays the current aliases you have set.
Typing ALIAS <keyword> will delete a previously set alias.
Typing ALIAS <keyword> <command>:<command>:<command>:<command>...
sets an alias.
Examples:
If you were to type alias food eat pie:drink waterskin:drink waterskin,
whenever you then typed food you would attempt to eat a pie and
to drink from a waterskin twice.
Typing alias food would then remove the alias.
You may also use variables in your aliases. See [[Alias_Parameters|HELP ALIAS PARAMETERS]]
for more information. An alias command cannot consist solely of a
variable.
By etching your gear with a common word, you can create an alias to
easily wear different sets.
Example: alias tank get all.tankgear bag:wear all.tankgear
The only limit to an alias's length comes from the total number of
characters the MUD will process in one command (about 400).
See also: ALIAS PARAMETERS, ALIAS LAW, ETCH, PUT
See also [[:Category: Mud Side Aliases |Mud Side Aliases]].
See also [[:Category: Mud Side Aliases |Mud Side Aliases]].


[[Category: Commands]]
[[Category: Commands]]

Latest revision as of 23:26, 13 November 2010

Syntax: ALIAS
Syntax: ALIAS <keyword>
Syntax: ALIAS <keyword> <command>:<command>:<command>.......

Typing ALIAS with no arguments displays the current aliases you have set.

Typing ALIAS <keyword> will delete a previously set alias.

Typing ALIAS <keyword> <command>:<command>:<command>:<command>... sets an alias.

Examples:

If you were to type alias food eat pie:drink waterskin:drink waterskin, whenever you then typed food you would attempt to eat a pie and to drink from a waterskin twice.

Typing alias food would then remove the alias.

You may also use variables in your aliases. See HELP ALIAS PARAMETERS for more information. An alias command cannot consist solely of a variable.

By etching your gear with a common word, you can create an alias to easily wear different sets.

Example: alias tank get all.tankgear bag:wear all.tankgear

The only limit to an alias's length comes from the total number of characters the MUD will process in one command (about 400).

See also: ALIAS PARAMETERS, ALIAS LAW, ETCH, PUT


See also Mud Side Aliases.