diff options
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/autogen/plugin_api/infos_hashtable.adoc | 2 | ||||
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 1 | ||||
-rw-r--r-- | doc/en/weechat_scripting.en.adoc | 5 |
3 files changed, 7 insertions, 1 deletions
diff --git a/doc/en/autogen/plugin_api/infos_hashtable.adoc b/doc/en/autogen/plugin_api/infos_hashtable.adoc index b13412c36..e62bb6621 100644 --- a/doc/en/autogen/plugin_api/infos_hashtable.adoc +++ b/doc/en/autogen/plugin_api/infos_hashtable.adoc @@ -6,7 +6,7 @@ |=== | Plugin | Name | Description | Hashtable (input) | Hashtable (output) -| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found) +| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "user": user, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found) | irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index e69fbb569..6d385a461 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -14845,6 +14845,7 @@ if (hashtable_in) * "tags" : "time=2015-06-27T16:40:35.000Z" * "message_without_tags": ":nick!user@host PRIVMSG #weechat :hello!" * "nick" : "nick" + * "user" : "user" * "host" : "nick!user@host" * "command" : "PRIVMSG" * "channel" : "#weechat" diff --git a/doc/en/weechat_scripting.en.adoc b/doc/en/weechat_scripting.en.adoc index ca3010445..65c9f67b5 100644 --- a/doc/en/weechat_scripting.en.adoc +++ b/doc/en/weechat_scripting.en.adoc @@ -1153,6 +1153,10 @@ The result is a hashtable with following keys The origin nick. | `nick` +| user | ≥ 2.7 | + The origin user. | + `user` + | host | ≥ 0.3.4 | The origin host (includes the nick). | `nick!user@host` @@ -1200,6 +1204,7 @@ dict = weechat.info_get_hashtable( # "tags": "time=2015-06-27T16:40:35.000Z", # "message_without_tags": ":nick!user@host PRIVMSG #weechat :hello!", # "nick": "nick", +# "user": "user", # "host": "nick!user@host", # "command": "PRIVMSG", # "channel": "#weechat", |