summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimmo Saan <simmo.saan@gmail.com>2020-10-10 10:13:22 +0300
committerSimmo Saan <simmo.saan@gmail.com>2020-10-10 10:13:42 +0300
commit765d2dd277a07a8b72a67d0ac077ac1c39b73ee4 (patch)
tree2463cfdba1268429314f8f0552a90ee12beb427c
parent8c87b7a1f06a923732f1aa6218f8cf1a02b15565 (diff)
downloadweechat-765d2dd277a07a8b72a67d0ac077ac1c39b73ee4.zip
doc: add tg_trigger_name variable under triggers (issue #1567)
-rw-r--r--doc/en/weechat_user.en.adoc10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc
index 5e70968e9..c8c7ba2e9 100644
--- a/doc/en/weechat_user.en.adoc
+++ b/doc/en/weechat_user.en.adoc
@@ -4019,7 +4019,7 @@ can be used in following options:
* _regex_
* _command_
-The content of hashtables depend on the hook type.
+The content of hashtables depends on the hook type.
A convenient way to see data in a trigger is to open trigger monitor buffer,
using the command:
@@ -4028,6 +4028,14 @@ using the command:
/trigger monitor
----
+All callbacks set following variables in hashtable:
+
+[width="100%",cols="3m,2,14",options="header"]
+|===
+| Variable | Type | Description
+| tg_trigger_name | string | Name of trigger
+|===
+
[[trigger_data_signal]]
===== Signal