diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-10 18:05:24 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-17 21:28:30 +0200 |
commit | c4b4d80936b5b1fe9f179a481f5c3a325ff8e42e (patch) | |
tree | 73946bd375229ca0682852a68561e17c45e6c3e8 /doc/fr | |
parent | f0898eae64be268dbd6ecab0037f23b818dbaf1b (diff) | |
download | weechat-c4b4d80936b5b1fe9f179a481f5c3a325ff8e42e.zip |
irc: parse and return command parameters in message parser
Diffstat (limited to 'doc/fr')
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index d5e7032a5..490676564 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -15810,7 +15810,7 @@ if (hashtable_in) weechat_hashtable_set ( hashtable_in, "message", - "@time=2015-06-27T16:40:35.000Z;tag2=value\\sspace :nick!user@host PRIVMSG #weechat :hello!"); + "@time=2015-06-27T16:40:35.000Z;tag2=value\\sspace :nick!user@host PRIVMSG #weechat :Hello world!"); hashtable_out = weechat_info_get_hashtable ("irc_message_parse", hashtable_in); /* @@ -15818,14 +15818,17 @@ if (hashtable_in) * "tags" : "time=2015-06-27T16:40:35.000Z;tag2=value\\sspace" * "tag_time" : "2015-06-27T16:40:35.000Z" * "tag_tag2" : "value space" - * "message_without_tags": ":nick!user@host PRIVMSG #weechat :hello!" + * "message_without_tags": ":nick!user@host PRIVMSG #weechat :Hello world!" * "nick" : "nick" " "user" : "user" * "host" : "nick!user@host" * "command" : "PRIVMSG" * "channel" : "#weechat" - * "arguments" : "#weechat :hello!" - * "text" : "hello!" + * "arguments" : "#weechat :Hello world!" + * "text" : "Hello world!" + * "param1" : "#weechat" + * "param2" : "Hello world!" + * "num_params" : "2" * "pos_command" : "65" * "pos_arguments" : "73" * "pos_channel" : "73" |