mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Add documentation for escaping some characters
this is especially important when using `sendcmd` to send a password for autologin
This commit is contained in:
parent
53b2e0775a
commit
aecf087014
@ -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