mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Merge pull request #9 from ailin-nemui/guntbert/issue-1329
Add documentation for escaping some characters
This commit is contained in:
commit
a6ca512150
@ -11,11 +11,17 @@
|
||||
|
||||
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
|
||||
|
||||
|
@ -18,7 +18,8 @@
|
||||
-usermode: Specifies the user modes to set on yourself.
|
||||
-autosendcmd: Specifies the commands, separated by the ';' character,
|
||||
and enclosed within two "'" characters, to perform after
|
||||
connecting.
|
||||
connecting.
|
||||
(Some characters need to be escaped - see /help eval)
|
||||
-querychans: Specifies the maximum number of channels to put in one MODE
|
||||
or WHO command when synchronizing.
|
||||
-whois: Specifies the maximum number of nicknames in one WHOIS
|
||||
|
Loading…
Reference in New Issue
Block a user