diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-08-04 10:09:53 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-08-04 10:09:53 +0200 |
commit | 6ea81f4c8c1067471f50c936ed27e013ce50f222 (patch) | |
tree | 17e3fcc2b4c1d9daee2b5f074ba2a2beff81ec46 /doc/ja/autogen/user | |
parent | dc878c5b69d498e3edb225e1997455510579deed (diff) | |
download | weechat-6ea81f4c8c1067471f50c936ed27e013ce50f222.zip |
api: add support of colors with format "${color:xxx}" in function string_eval_expression and command /eval
Diffstat (limited to 'doc/ja/autogen/user')
-rw-r--r-- | doc/ja/autogen/user/weechat_commands.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/ja/autogen/user/weechat_commands.txt b/doc/ja/autogen/user/weechat_commands.txt index fa4876108..5da240956 100644 --- a/doc/ja/autogen/user/weechat_commands.txt +++ b/doc/ja/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: |