1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

doc: add tg_trigger_name variable under triggers (issue #1567)

This commit is contained in:
Simmo Saan
2020-10-10 10:13:22 +03:00
parent 8c87b7a1f0
commit 765d2dd277
+9 -1
View File
@@ -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