1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
irssi/docs/help/in/alias.in
Geert Hauwaerts 4ca8d56869 Updated the ALIAS documentation
Updated the ALIAS documentation.
2014-07-06 19:18:31 +02:00

34 lines
908 B
Plaintext

%9Syntax:%9
@SYNTAX:alias@
%9Parameters:%9
A name of the alias and the command to execute. You can prepend the alias
with the "-" character to remove the alias; if no argument is given, your
aliases will be displayed.
%9Description:%9
Creates or updates an alias; you can use the ";" character to separate
multiple commands.
The parametesr given to the alias are expanded in "$[\d]" For example $0,
$1, $2, $8, $12, ...
If you don't use any parameters in your alias, all parameters will be
automatically appended after it.
%9Examples:%9
/ALIAS
/ALIAS J JOIN
/ALIAS COMEBACK SAY I was hoping for a battle of wits, but you seem to be unarmed.
/ALIAS -COMEBACK
/ALIAS UNACT SCRIPT EXEC foreach $$w (Irssi::windows()) { Irssi::command("window goto $$w->{refnum}")\;}; WINDOW GOTO $winref
/ALIAS QOP ^MSG Q op $C
%9See also:%9 BIND, UNALIAS