MUME Help
ALIAS, MACROS
Usage:
alias
|
list aliases |
alias <word>
|
show this alias |
alias <word> <expansion>
|
define alias |
alias <word> set <expansion>
|
(also) define alias |
alias <word> delete
|
delete this alias |
alias <word> edit
|
edit alias in a text editor |
alias please remove all of them
|
(sic!) delete all aliases |
You cannot define alias
, or any of its
abbreviations except a
as an alias.
The character &
(ampersand)
acts as a placeholder for arguments to your alias. The
rest of the line (after your alias) is inserted where
&
is found in the definition.
If <expansion> does not contain any &
, any
following words will be added to the end of the command. This does not happen
for multi-command aliases (see below).
Backslash (\
) acts as an
escape character. Use it to
suppress special handling of other characters (such as
ampersand or semicolon). If your alias expansion should contain a backslash,
you have to double it.
Note that your client may treat backslash specially, so you may have to escape it somehow.
Multi-command aliases
An alias can expand into several commands by separating them with semicolons (;
).
An empty command in the expansion will not cancel any delayed action.
Note that your client may treat semicolon specially, so you may have to escape it somehow.
If you use alias <word> edit
to edit an alias,
individual commands are on their own lines.
Special aliases
The aliasat-login
, if defined, is automatically run as you log in
to the game.
The alias at-reconnect
, if defined, is automatically run when you
reconnect to the game.
Keyword aliases
If <word> starts with%
(percent) it is a
"keyword alias" which will be expanded whenever a keyword lookup is
done to find a character,
object, or door.
Some words cannot be used as keyword aliases: words that the look command
treats specially (at
, around
, north
,
east
, …) and some prepositions like in
,
from
, and with
.
To inhibit keyword alias expansion, you prepend the word in a command with
%
.
Examples
>
|
|
>
|
drink water |
>
|
|
>
|
kill 2.orc |
>
|
|
>
|
ride behind gandalf |
>
|
|
>
|
|
>
|
alias %target *orc* |
>
|
backstab *orc* |
>
|
backstab 2.*orc* |
>
|
|
>
|
wield longsword |
>
|
wield sword |
>
|
|
>
|
move east, up, south, west, and south |
See help account
for how the
account import
command can import aliases
from other characters in your
account.
See also: | LABELS |
Generated on Tue Oct 14 21:11:06 2025