2000-07-26 13:52:19 -04:00
|
|
|
|
2014-07-03 15:42:37 -04:00
|
|
|
%9Syntax:%9
|
|
|
|
|
2000-07-26 13:52:19 -04:00
|
|
|
@SYNTAX:eval@
|
|
|
|
|
2014-07-03 15:42:37 -04:00
|
|
|
%9Parameters:%9
|
|
|
|
|
|
|
|
The commands to evaluate.
|
|
|
|
|
|
|
|
%9Description:%9
|
|
|
|
|
|
|
|
Evaluates the given commands and executes them; you can use internal
|
2022-06-30 17:13:48 -04:00
|
|
|
variables and separate multiple commands by using the `;' character.
|
|
|
|
If the command contains a string with `$', `\' or `;' those characters
|
2021-05-30 15:11:10 -04:00
|
|
|
need to be escaped:
|
2022-06-30 17:13:48 -04:00
|
|
|
|
|
|
|
`$' -> `$$'
|
|
|
|
`\' -> `\\' (or even `\\\\', depending on where they are used)
|
|
|
|
`;' -> `\;'
|
2014-07-03 15:42:37 -04:00
|
|
|
|
2014-08-07 16:00:40 -04:00
|
|
|
%9Examples:%9
|
2014-07-03 15:42:37 -04:00
|
|
|
|
|
|
|
/EVAL echo I am connected to ${S} on ${chatnet} as ${N}
|
|
|
|
/EVAL echo My user privileges are +${usermode}; echo Let's party!
|
2022-06-30 17:13:48 -04:00
|
|
|
|
|
|
|
to print `1;2$3\4':
|
|
|
|
|
|
|
|
/EVAL echo 1\;2$$3\\4
|
2014-07-03 15:42:37 -04:00
|
|
|
|
|
|
|
%9References:%9
|
|
|
|
|
|
|
|
https://github.com/irssi/irssi/blob/master/docs/special_vars.txt
|
|
|
|
|
|
|
|
%9See also:%9 CAT, CD, ECHO, EXEC
|
2000-07-26 13:52:19 -04:00
|
|
|
|