diff options
Diffstat (limited to 'doc/en/autogen/user/weechat_commands.asciidoc')
-rw-r--r-- | doc/en/autogen/user/weechat_commands.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/en/autogen/user/weechat_commands.asciidoc b/doc/en/autogen/user/weechat_commands.asciidoc index d758b3fa1..9ff20bc01 100644 --- a/doc/en/autogen/user/weechat_commands.asciidoc +++ b/doc/en/autogen/user/weechat_commands.asciidoc @@ -286,11 +286,11 @@ Some variables are replaced in expression, using the format ${variable}, variabl 8. 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/pointer, for example: + hdata[list].var1.var2...: start with a hdata using a list, for example: ${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers - hdata[pointer].var1.var2...: start with a hdata using a list, for example: - ${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers) ${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins + hdata[pointer].var1.var2...: start with a hdata using a pointer, for example: + ${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers) For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get". Examples (simple strings): |