diff options
Diffstat (limited to 'doc/it/autogen/user/weechat_commands.asciidoc')
-rw-r--r-- | doc/it/autogen/user/weechat_commands.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/it/autogen/user/weechat_commands.asciidoc b/doc/it/autogen/user/weechat_commands.asciidoc index 2d3008757..6933ccffa 100644 --- a/doc/it/autogen/user/weechat_commands.asciidoc +++ b/doc/it/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): |