User Tools

Site Tools


alias

This is an old revision of the document!


Alias defines a 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 any argument, alias will list all defined aliases.
-reset: Will reset aliases to default.
-clear: Will completely empty your aliases.

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.1713469464.txt.gz · Last modified: 2024/04/18 19:44 by titania