diff options
Diffstat (limited to 'doc/en/weechat_plugin_api.en.adoc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index f5233c511..cc6ee1844 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -2209,7 +2209,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test" ==== string_eval_expression _WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0, -2.2, 2.3, 2.7, 2.9 and 3.1._ +2.2, 2.3, 2.7, 2.9, 3.1 and 3.2._ Evaluate an expression and return result as a string. Special variables with format `+${variable}+` are expanded (see table below). @@ -2755,11 +2755,18 @@ expanded to last): `+${nick}+` | `+FlashCode+` +| `+${pointer}+` | + Variable `pointer` from hashtable _pointers_. | + `+${my_pointer}+` | + `+0x1234abcd+` + | `+${hdata.var1.var2...}+` + `+${hdata[list].var1.var2...}+` | Hdata value (pointers `window` and `buffer` are set by default with current - window/buffer). | + window/buffer), `list` can be a list name (example: "gui_buffers"), a pointer + (example: "0x1234abcd") or a pointer name (example: "my_pointer"). | `+${buffer[gui_buffers].full_name}+` + + `+${buffer[my_buffer_pointer].full_name}+` + `+${window.buffer.number}+` | `+core.weechat+` + `+1+` |