From a79c0fcff3918c67302b8967cfdbcdfd2f804a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 23 Jun 2015 20:55:52 +0200 Subject: core: allow pointer as list name in evaluation of hdata (closes #450) --- doc/it/weechat_user.it.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/it/weechat_user.it.asciidoc') diff --git a/doc/it/weechat_user.it.asciidoc b/doc/it/weechat_user.it.asciidoc index 791b52e06..4aefefc63 100644 --- a/doc/it/weechat_user.it.asciidoc +++ b/doc/it/weechat_user.it.asciidoc @@ -3399,6 +3399,13 @@ is added in hashtable: | arguments | string | Arguments of command (includes value of 'channel') |=== +When the data is a pointer, the variable `tg_signal_data` can be used like this +to read a hdata property (in this example this is a pointer on a buffer): + +---- +${buffer[${tg_signal_data}].full_name} +---- + [[trigger_data_hsignal]] ===== Hsignal -- cgit v1.2.3