summaryrefslogtreecommitdiff
path: root/doc/en/autogen
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-08-04 10:09:53 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-08-04 10:09:53 +0200
commit6ea81f4c8c1067471f50c936ed27e013ce50f222 (patch)
tree17e3fcc2b4c1d9daee2b5f074ba2a2beff81ec46 /doc/en/autogen
parentdc878c5b69d498e3edb225e1997455510579deed (diff)
downloadweechat-6ea81f4c8c1067471f50c936ed27e013ce50f222.zip
api: add support of colors with format "${color:xxx}" in function string_eval_expression and command /eval
Diffstat (limited to 'doc/en/autogen')
-rw-r--r--doc/en/autogen/user/weechat_commands.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt
index 0885078d3..2b243b61e 100644
--- a/doc/en/autogen/user/weechat_commands.txt
+++ b/doc/en/autogen/user/weechat_commands.txt
@@ -233,9 +233,10 @@ To force a string comparison, add double quotes around each expression, for exam
"50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority :
- 1. the name of an option (file.section.option)
- 2. the name of a local variable in buffer
- 3. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
+ 1. a color (format: color:xxx)
+ 2. an option (format: file.section.option)
+ 3. a local variable in buffer
+ 4. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example: