diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-02 07:46:17 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-02 07:46:17 +0200 |
commit | 593eee869f47872dd8c512ab9ac74f3167ad50af (patch) | |
tree | 8def62153567113172a5d397accb6c58b6fb3e51 /doc/en/weechat_user.en.adoc | |
parent | eff373e73bdf204ff597b7ebcd074ee58e606d09 (diff) | |
download | weechat-593eee869f47872dd8c512ab9ac74f3167ad50af.zip |
trigger: add "irc_server" and "irc_channel" pointers in data for IRC signal/modifier hooks
Diffstat (limited to 'doc/en/weechat_user.en.adoc')
-rw-r--r-- | doc/en/weechat_user.en.adoc | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 7a65021b7..26e26ff0f 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -3488,20 +3488,22 @@ is added in hashtable: [width="100%",cols="3m,2,14",options="header"] |=== -| Variable | Type | Description -| server | string | Name of server (example: "freenode"). -| tags | string | Tags in message (rarely used). -| message_without_tags | string | Message without tags. -| nick | string | Nick. -| host | string | Hostname. -| command | string | IRC command (example: "PRIVMSG", "NOTICE", ...). -| channel | string | IRC channel. -| arguments | string | Arguments of command (includes value of _channel_). -| text | string | Text (for example user message). -| pos_command | string | The index of _command_ in message ("-1" if _command_ was not found). -| pos_arguments | string | The index of _arguments_ in message ("-1" if _arguments_ was not found). -| pos_channel | string | The index of _channel_ in message ("-1" if _channel_ was not found). -| pos_text | string | The index of _text_ in message ("-1" if _text_ was not found). +| Variable | Type | Description +| irc_server | pointer | Pointer to IRC server (variables in hdata of type "irc_server" can be used, like `${irc_server.name}`). +| irc_channel | pointer | Pointer to IRC channel (variables in hdata of type "irc_channel" can be used, like `${irc_channel.name}`). +| server | string | Name of server (example: "freenode"). +| tags | string | Tags in message (rarely used). +| message_without_tags | string | Message without tags. +| nick | string | Nick. +| host | string | Hostname. +| command | string | IRC command (example: "PRIVMSG", "NOTICE", ...). +| channel | string | IRC channel. +| arguments | string | Arguments of command (includes value of _channel_). +| text | string | Text (for example user message). +| pos_command | string | The index of _command_ in message ("-1" if _command_ was not found). +| pos_arguments | string | The index of _arguments_ in message ("-1" if _arguments_ was not found). +| pos_channel | string | The index of _channel_ in message ("-1" if _channel_ was not found). +| pos_text | string | The index of _text_ in message ("-1" if _text_ was not found). |=== When the data is a pointer, the variable `tg_signal_data` can be used like this |