Alias
From t2twiki
[edit] MUD Definition
From "help alias":
Flags accepted:
- -clear Clears all aliases.
- -global Shows standard (un-overridable) aliases.
*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 variables that exist are:
- $# - Where # is the number of the word after the verb to substitute.
- $* - Will be substituted with everything after the verb.
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.
Be careful not to alias a word which is already a command. For example, "alias kill kiss lloyd" would make it easier to kiss Lloyd, but would make it impossible to kill any monsters. :)
- The total number of aliases allowed for you is: 100
