diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-27 20:52:00 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-27 20:52:00 +0200 |
commit | ae38b114072858ca4cd21d8492c54a2ae592d196 (patch) | |
tree | 6cdea623841c7cc3b75f5670b0b71e523c4cfada /doc/it | |
parent | 3f33b327b139a90c100aff5c36d4684faa6e48c6 (diff) | |
download | weechat-ae38b114072858ca4cd21d8492c54a2ae592d196.zip |
irc: add "user" in output of irc_message_parse (closes #136)
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/autogen/plugin_api/infos_hashtable.adoc | 2 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 1 | ||||
-rw-r--r-- | doc/it/weechat_scripting.it.adoc | 6 |
3 files changed, 8 insertions, 1 deletions
diff --git a/doc/it/autogen/plugin_api/infos_hashtable.adoc b/doc/it/autogen/plugin_api/infos_hashtable.adoc index 3c61f008f..c91a0f51a 100644 --- a/doc/it/autogen/plugin_api/infos_hashtable.adoc +++ b/doc/it/autogen/plugin_api/infos_hashtable.adoc @@ -6,7 +6,7 @@ |=== | Plugin | Nome | Descrizione | Tabella hash (input) | Tabella hash (output) -| irc | irc_message_parse | controlla un messaggio IRC | "message": messaggio IRC, "server": nome server (opzionale) | "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 | controlla un messaggio IRC | "message": messaggio IRC, "server": nome server (opzionale) | "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": messaggio IRC, "server": nome server (opzionale) | "msg1" ... "msgN": messaggio da inviare (senza "\r\n" finale), "args1" ... "argsN": argomenti dei messaggi, "count": numero di messaggi diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 4de105de0..24a351725 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -15448,6 +15448,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/it/weechat_scripting.it.adoc b/doc/it/weechat_scripting.it.adoc index 6ca3a307d..e4f3d0b85 100644 --- a/doc/it/weechat_scripting.it.adoc +++ b/doc/it/weechat_scripting.it.adoc @@ -1190,6 +1190,11 @@ The result is a hashtable with following keys The origin nick. | `nick` +// TRANSLATION MISSING +| user | ≥ 2.7 | + The origin user. | + `user` + | host | ≥ 0.3.4 | The origin host (includes the nick). | `nick!user@host` @@ -1237,6 +1242,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", |