command: xalias <macro> <expansion>
xalias <macro>
xalias
The command 'xalias' on its own lists your current xaliases.
The command 'xalias <macro>' lists that xalias, if it exists.
The command 'xalias <macro> <expansion>' sets up an xalias for that macro.
Xaliases work exactly like aliases, except that an xalias macro can only
be one character long; and cannot be a reserved character (any lower-case
letter, \, ^, % or !). When any command starts with this character, any
xalias will be applied - there does not need to be a space between the
xalias macro and the rest of the sentence.
For example:
> xalias # emote roars:
Ok.
> #this is really annoying.
You emote: *Idiotplayer roars: this is really annoying.
> # I am an idiot.
You emote: *Idiotplayer roars: I am an idiot.
See also: abort, alias, aliasing, do, dotimes, history, nick, pending, restart,
suspend, unalias, unnick, walk.
|