ALIAS [COMMAND] Type: Tool Syntax: alias or alias $ or alias $* Description: An alias is a single command used to represent one or more other commands. Typing alias alone will show you a list of your currently defined aliases. To create a new alias use the syntax above. The alias name must be in one word, while the command can be any string. By adding the $ the alias accepts text and/or numbers after the alias itself. (If you want this text/number to be optional you should make it $* instead). Note: Aliases may not be nested or used recursively. Any command may be overridden by an alias (other than the alias command itself, of course.) A semicolon (";") can be used to define multiple actions to be taken with a single alias. Also, the variables $1, $2, ... $9 may be used to represent arguments given with an alias. Variables may be used repeatedly and in any order. By using $* the alias will accept the entire string behind the alias, even if this string is a blank. To delete an alias already defined, type alias without any argument behind it. Examples: *>alias ce close exit This alias will do close exit, but nothing else. *>alias ce close exit $* This alias will work both alone and with text after. "ce" will close exit while "ce w" will close exit west. *>alias ce This will delete the alias named ce. *>alias eat get bread sack; eat bread This will get a bread from your sack, then eat the bread. Not that the eat within the alias is interpreted as the MUD's internal eat command. *> alias killem cast 'ice stab' $1; cast 'singe' $2 *> killem fido fiffi Would cast ice stab on fido, followed by casting singe on fiffi. *> alias helpem cast 'ameliorating touch' $1; cast 'refresh' $1 *> helpem fido Would cast both ameliorating touch and refresh on fido. Abbreviations: al(ias) See Also: LABEL