alias
Syntax
ALIAS [[-]<alias> [<command>]]
Parameters
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.
Description
Creates or updates an alias; you can use the β;β character to separate multiple commands.
The parameters given to the alias are expanded in β$[\d]β; for example $0, $1, $2, $8, β¦, as well as any other special variable.
If you donβt use any parameters in your alias, all parameters will be automatically appended after it.
Examples
/ALIAS
/ALIAS UH USERHOST
/ALIAS COMEBACK SAY I was hoping for a battle of wits, but you seem to be unarmed.
/ALIAS -COMEBACK
/ALIAS UNACT SCRIPT EXEC \$_->activity(0) for Irssi::windows
/ALIAS QOP ^MSG Q op $C
References
https://github.com/irssi/irssi/blob/master/docs/special_vars.txt