User Tools

Site Tools


alias

This is an old revision of the document!


Alias defines short substitution for any entered command.

You can enter substitution variables:

$N: Where N is the number, this will substitute the Nth argument of the alias into the command. This will only accept one word or number.
$*: Substitutes all alias arguments into the command.
Without argument, alias will list all defined aliases.

There are two options:

-reset: Will reset aliases to default.
-clear: Will completely empty your aliases.
Prefixing the alias verb with a $ allows you to set up a verb that does not require a space after it.

To remove an alias, use <unalias ALIAS>.

EXAMPLES

<alias greet kill> Each time you use <greet TARGET>, the server will perform the same action as if you had typed <kill TARGET>.

<alias lsack look sack $1> Command <lsack 2> will be substituted on the server to <look sack 2>.

<alias $' say \“ $* \”>Now if you type <Hello!>, the server will substitute it with <say “ Hello! ”>.

alias.1713469366.txt.gz · Last modified: 2024/04/18 19:42 by titania