summaryrefslogtreecommitdiffstats
path: root/docs/help/alias
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
commitfff5217f02d91268ce90c8c05665602c059faaef (patch)
tree2ba24d32dc96eafe7ed0a85269548e76796d849d /docs/help/alias
parentInitial commit. (diff)
downloadirssi-fff5217f02d91268ce90c8c05665602c059faaef.tar.xz
irssi-fff5217f02d91268ce90c8c05665602c059faaef.zip
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--docs/help/alias37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/help/alias b/docs/help/alias
new file mode 100644
index 0000000..dfa6179
--- /dev/null
+++ b/docs/help/alias
@@ -0,0 +1,37 @@
+
+%9Syntax:%9
+
+ALIAS %|[[-]<alias> [<command>]]
+
+%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 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.
+
+%9Examples:%9
+
+ /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
+
+%9References:%9
+
+ https://github.com/irssi/irssi/blob/master/docs/special_vars.txt
+
+%9See also:%9 BIND, UNALIAS
+