Flags accepted:
-clear Clears all aliases.
-global Show the global aliases.
-search xxx Show only aliases with xxx in their expansion.
-s xxx Short for -search
alias View current aliases.
alias <alias> <command> Set the verb alias to execute command.
alias <alias> Check the value of <alias>
unalias <alias> Remove <alias> from the alias list.
Substitution variable that exist are:
$* - Will be substituted with everything after the verb.
$2+ - argument 2 and everything after it, so the last
argument can be more than one word. For example
'alias car cast arrow of $1 at $2+' lets you type
'car fire skinny goblin 3'.
$# - Where # is the number of the word after the verb to substitute.
For example, if you:
alias blah X $1 X $2 X $3 X
then when you type
blah one two three
it will become
X one X two X three X
Prefixing the alias' verb with a $ allows you to set up a verb that does
not require a space after it. i.e. 'alias $' say $*' will allow you to do
says as:
'Hey! This is most Stufly!
Look at the default aliases for examples.
Note: $* is added to all aliases, unless was already part of it.
No aliases or nicknames are parsed for lines starting with @.
Note:
You are NOT allowed to have aliases that include BOTH movement AND
automatically attacking/targeting anything, e.g:
* alias xx 10e;;2n;;kill myst
* alias xxx 10e;;2n;;cast <my-fancy-aoe-spell>
* alias yy 10e;;2n;;shoot althaon with bow
* alias yz 10e;;2n;;target bumbles
(The mud itself does not split a line into several commands - your client
does. The examples use ";;", which is what Mudlet uses out of the box;
check your own client if yours differs.)
You are allowed to have other commands in aliases that also include
movement, as long as no trigger is calling these aliases.