summaryrefslogtreecommitdiff
path: root/doc/pl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pl')
-rw-r--r--doc/pl/autogen/user/weechat_commands.adoc17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/pl/autogen/user/weechat_commands.adoc b/doc/pl/autogen/user/weechat_commands.adoc
index cdcef73e0..72ebb7dec 100644
--- a/doc/pl/autogen/user/weechat_commands.adoc
+++ b/doc/pl/autogen/user/weechat_commands.adoc
@@ -305,14 +305,15 @@ Some variables are replaced in expression, using the format ${variable}, variabl
6. a repeated string (format: "repeat:count,string")
7. length of a string (format: "length:xxx" or "lengthscr:xxx")
8. a color (format: "color:xxx", see "Plugin API reference", function "color")
- 9. an info (format: "info:name,arguments", arguments are optional)
- 10. current date/time (format: "date" or "date:format")
- 11. an environment variable (format: "env:XXX")
- 12. a ternary operator (format: "if:condition?value_if_true:value_if_false")
- 13. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
- 14. an option (format: "file.section.option")
- 15. a local variable in buffer
- 16. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
+ 9. a modifier (format: "modifier:name,data,string")
+ 10. an info (format: "info:name,arguments", arguments are optional)
+ 11. current date/time (format: "date" or "date:format")
+ 12. an environment variable (format: "env:XXX")
+ 13. a ternary operator (format: "if:condition?value_if_true:value_if_false")
+ 14. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
+ 15. an option (format: "file.section.option")
+ 16. a local variable in buffer
+ 17. 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: