Rules to play SWmud
Creating a character
How to play SWmud
Join the mailing list
Current player poll
Meet the coders
Rogues' gallery
What's new
Site map

Alias & Unalias commands

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.

Flags accepted:
alias -reset - Clears aliases and sets them to defaults.
alias -clear - Clears all aliases.

Substitution variable 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. Look at the default aliases for examples.
Example: alias $" say $* will allow you to use says as follows: "Hey! This is most Stufly!

Each player is allowed a maximum of 200 aliases. If you attempt to add more, you will be told you are over the limit and all of your aliases will be erased immediately. PK's, both army and navy, are allotted an additional 50, for a total of 250 aliases.

Color can also be incorporated into aliases. This is how many people make the 'tags' preceding (and following) their messages on lines.

Site Map || Home || Top || Back || Play Now