summaryrefslogtreecommitdiff
path: root/doc/pl
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-07-22 17:06:49 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-07-22 17:06:49 +0200
commitd43b9e99c13452d9e76caaf33fe008010a2e36a2 (patch)
tree41a79e3386e9e479552b02f3ef1322a5ef2cdb08 /doc/pl
parentd5c4342bceadc4d3c3997986cb48f3bd4235e8f8 (diff)
downloadweechat-d43b9e99c13452d9e76caaf33fe008010a2e36a2.zip
doc/scripting: add missing fields "paramN" and "num_params" in output of "irc_message_parse"
These new fields were added in version 3.4 with major improvements of the IRC message parser.
Diffstat (limited to 'doc/pl')
-rw-r--r--doc/pl/weechat_scripting.pl.adoc13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/pl/weechat_scripting.pl.adoc b/doc/pl/weechat_scripting.pl.adoc
index f5c9e3a7e..322cd63b3 100644
--- a/doc/pl/weechat_scripting.pl.adoc
+++ b/doc/pl/weechat_scripting.pl.adoc
@@ -1361,6 +1361,16 @@ Wynik jest tabela hashy z następującymi kluczami
| Tekst (na przykład wiadomość użytkownika).
| `+hello!+`
+// TRANSLATION MISSING
+| paramN | 3.4
+| Command parameter (from 1 to N).
+| `+#weechat+`
+
+// TRANSLATION MISSING
+| num_params | 3.4
+| Number of command parameters.
+| `+2+`
+
| pos_command | 1.3
| The index of _command_ in message ("-1" if _command_ was not found).
| `+47+`
@@ -1399,6 +1409,9 @@ dict = weechat.info_get_hashtable(
# "channel": "#weechat",
# "arguments": "#weechat :hello!",
# "text": "hello!",
+# "param1": "#weechat",
+# "param2": "hello!",
+# "num_params": "2",
# "pos_command": "65",
# "pos_arguments": "73",
# "pos_channel": "73",