mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
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.
This commit is contained in:
@@ -1376,6 +1376,16 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln
|
||||
| der Text (zum Beispiel eine Nachricht eines Users).
|
||||
| `+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
|
||||
| Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird).
|
||||
| `+47+`
|
||||
@@ -1414,6 +1424,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",
|
||||
|
||||
@@ -1349,6 +1349,14 @@ The result is a hashtable with following keys
|
||||
| The text (for example user message).
|
||||
| `+hello!+`
|
||||
|
||||
| paramN | 3.4
|
||||
| Command parameter (from 1 to N).
|
||||
| `+#weechat+`
|
||||
|
||||
| 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+`
|
||||
@@ -1387,6 +1395,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",
|
||||
|
||||
@@ -1387,6 +1387,14 @@ Le résultat est une table de hachage avec les clés suivantes
|
||||
| Le texte (par exemple un message utilisateur).
|
||||
| `+hello!+`
|
||||
|
||||
| paramN | 3.4
|
||||
| Paramètre de commande (de 1 à N).
|
||||
| `+#weechat+`
|
||||
|
||||
| num_params | 3.4
|
||||
| Nombre de paramètres de commande.
|
||||
| `+2+`
|
||||
|
||||
| pos_command | 1.3
|
||||
| La position de _command_ dans le message ("-1" si _command_ n'a pas été trouvé).
|
||||
| `+47+`
|
||||
@@ -1425,6 +1433,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",
|
||||
|
||||
@@ -1418,6 +1418,16 @@ The result is a hashtable with following keys
|
||||
| The text (for example user message).
|
||||
| `+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+`
|
||||
@@ -1457,6 +1467,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",
|
||||
|
||||
@@ -1394,6 +1394,16 @@ _WeeChat バージョン 0.3.4 以上で利用可。_
|
||||
| テキスト (ユーザメッセージなど)
|
||||
| `+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
|
||||
| メッセージ内における _command_ のインデックス (_command_ が見つからない場合 "-1")
|
||||
| `+47+`
|
||||
@@ -1433,6 +1443,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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1285,6 +1285,16 @@ IRC поруку можете да парсирате са info_hashtable под
|
||||
| Текст (на пример, корисникова порука).
|
||||
| `+здраво!+`
|
||||
|
||||
// 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
|
||||
| Индекс _command_ у поруци („-1” ако се _command_ не пронађе).
|
||||
| `+47+`
|
||||
@@ -1323,6 +1333,9 @@ dict = weechat.info_get_hashtable(
|
||||
# "channel": "#weechat",
|
||||
# "arguments": "#weechat :здраво!",
|
||||
# "text": "hello!",
|
||||
# "param1": "#weechat",
|
||||
# "param2": "hello!",
|
||||
# "num_params": "2",
|
||||
# "pos_command": "65",
|
||||
# "pos_arguments": "73",
|
||||
# "pos_channel": "73",
|
||||
|
||||
Reference in New Issue
Block a user