diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-06-22 20:38:13 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-06-24 21:02:03 +0200 |
commit | b1cf12700d6c928e0550d97a9c1da7b188f81dc1 (patch) | |
tree | a923ed6fd2b5634693f97a449446f35745d84d3c /doc/de | |
parent | 8ea1ee06e5ac18a000788851f807cb4fad3e076c (diff) | |
download | weechat-b1cf12700d6c928e0550d97a9c1da7b188f81dc1.zip |
irc: add keys/values with tags in output of irc_message_parse_to_hashtable (issue #1654)
Key is "tag_xxx" (where "xxx" is the name of tag) and value is the unescaped
tag value.
Diffstat (limited to 'doc/de')
-rw-r--r-- | doc/de/weechat_scripting.de.adoc | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/doc/de/weechat_scripting.de.adoc b/doc/de/weechat_scripting.de.adoc index 8b339b8b7..e575c9b1e 100644 --- a/doc/de/weechat_scripting.de.adoc +++ b/doc/de/weechat_scripting.de.adoc @@ -1304,6 +1304,11 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln Tags in der Nachricht (kann leer sein). | `+time=2015-06-27T16:40:35.000Z+` +// TRANSLATION MISSING +| tag_xxx | 3.3 | + Unescaped value of tag "xxx" (one key per tag). | + `+2015-06-27T16:40:35.000Z+` + | message_without_tags | 0.4.0 | Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags). | `+:nick!user@host PRIVMSG #weechat :hello!+` @@ -1360,10 +1365,12 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln ---- dict = weechat.info_get_hashtable( "irc_message_parse", - {"message": "@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!"}) + {"message": "@time=2015-06-27T16:40:35.000Z;tag2=value\\sspace :nick!user@host PRIVMSG #weechat :hello!"}) # dict == { -# "tags": "time=2015-06-27T16:40:35.000Z", +# "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!", # "nick": "nick", # "user": "user", @@ -1372,10 +1379,10 @@ dict = weechat.info_get_hashtable( # "channel": "#weechat", # "arguments": "#weechat :hello!", # "text": "hello!", -# "pos_command": "47", -# "pos_arguments": "55", -# "pos_channel": "55", -# "pos_text": "65", +# "pos_command": "65", +# "pos_arguments": "73", +# "pos_channel": "73", +# "pos_text": "83", # } ---- |