summaryrefslogtreecommitdiffstats
path: root/docs/help/eval
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/eval
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 'docs/help/eval')
-rw-r--r--docs/help/eval35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/help/eval b/docs/help/eval
new file mode 100644
index 0000000..08d1dc1
--- /dev/null
+++ b/docs/help/eval
@@ -0,0 +1,35 @@
+
+%9Syntax:%9
+
+EVAL %|<command(s)>
+
+%9Parameters:%9
+
+ The commands to evaluate.
+
+%9Description:%9
+
+ Evaluates the given commands and executes them; you can use internal
+ variables and separate multiple commands by using the `;' character.
+ If the command contains a string with `$', `\' or `;' those characters
+ need to be escaped:
+
+ `$' -> `$$'
+ `\' -> `\\' (or even `\\\\', depending on where they are used)
+ `;' -> `\;'
+
+%9Examples:%9
+
+ /EVAL echo I am connected to ${S} on ${chatnet} as ${N}
+ /EVAL echo My user privileges are +${usermode}; echo Let's party!
+
+ to print `1;2$3\4':
+
+ /EVAL echo 1\;2$$3\\4
+
+%9References:%9
+
+ https://github.com/irssi/irssi/blob/master/docs/special_vars.txt
+
+%9See also:%9 CAT, CD, ECHO, EXEC
+