summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-03-11 07:20:38 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-03-11 07:20:38 +0100
commit34e99987bfdfb009368608313bc96fff079e06cd (patch)
treeb188cc65821e1686bf030865b2b98910f4eb37bf /doc/it
parent1ab62e37cb5bfb774b064a44818cce00259009b5 (diff)
downloadweechat-34e99987bfdfb009368608313bc96fff079e06cd.zip
doc/user: clarify what is `${nick}` in trigger IRC signal data
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_user.it.adoc7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc
index 8fd2d787b..a098060e2 100644
--- a/doc/it/weechat_user.it.adoc
+++ b/doc/it/weechat_user.it.adoc
@@ -5677,7 +5677,7 @@ is added in hashtable:
| server | string | Name of server (example: "libera").
| tags | string | Tags in message (rarely used).
| message_without_tags | string | Message without tags.
-| nick | string | Nick.
+| nick | string | Nick. ^(1)^
| host | string | Hostname.
| command | string | IRC command (example: "PRIVMSG", "NOTICE", ...).
| channel | string | IRC channel.
@@ -5689,6 +5689,11 @@ is added in hashtable:
| pos_text | string | The index of _text_ in message ("-1" if _text_ was not found).
|===
+// TRANSLATION MISSING
+[NOTE]
+^(1)^ The nick is the sender of the message. +
+Your own nick on the server is `${irc_server.nick}`.
+
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):