diff options
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/autogen/plugin_api/hdata.txt | 1 | ||||
-rw-r--r-- | doc/it/autogen/plugin_api/infos_hashtable.txt | 4 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 4 | ||||
-rw-r--r-- | doc/it/weechat_scripting.it.txt | 6 |
4 files changed, 9 insertions, 6 deletions
diff --git a/doc/it/autogen/plugin_api/hdata.txt b/doc/it/autogen/plugin_api/hdata.txt index aa0f878fa..4a48fc35e 100644 --- a/doc/it/autogen/plugin_api/hdata.txt +++ b/doc/it/autogen/plugin_api/hdata.txt @@ -136,6 +136,7 @@ 'isupport' (string) + 'prefix_modes' (string) + 'prefix_chars' (string) + + 'nick_max_length' (integer) + 'reconnect_delay' (integer) + 'reconnect_start' (time) + 'command_time' (time) + diff --git a/doc/it/autogen/plugin_api/infos_hashtable.txt b/doc/it/autogen/plugin_api/infos_hashtable.txt index 6294d42b9..ae7682f39 100644 --- a/doc/it/autogen/plugin_api/infos_hashtable.txt +++ b/doc/it/autogen/plugin_api/infos_hashtable.txt @@ -2,6 +2,8 @@ |======================================== | Plugin | Nome | Descrizione | Tabella hash (input) | Tabella hash (output) -| irc | irc_parse_message | controlla un messaggio IRC | "messaggio": messaggio IRC | "nick": nick, "host": nome host, "command": comando, "channel": canale, "arguments": argomenti (include il canale) +| irc | irc_message_parse | controlla un messaggio IRC | "messaggio": messaggio IRC | "nick": nick, "host": nome host, "command": comando, "channel": canale, "arguments": argomenti (include il canale) + +| irc | irc_message_split | split an IRC message (to fit in 512 bytes) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages |======================================== diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 214f1da92..b98728d3a 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -11188,7 +11188,7 @@ if (hashtable_in) { weechat_hashtable_set (hashtable_in, "message", ":nick!user@host PRIVMSG #weechat :message here"); - hashtable_out = weechat_info_get_hashtable ("irc_parse_message", + hashtable_out = weechat_info_get_hashtable ("irc_message_parse", hashtable_in); /* * now hashtable_out has following keys/values: @@ -11213,7 +11213,7 @@ dict = weechat.info_get_hashtable(info_name, dict_in) # esempio dict_in = { "message": ":nick!user@host PRIVMSG #weechat :message here" } weechat.prnt("", "message parsed: %s" - % weechat.info_get_hashtable("irc_parse_message", dict_in)) + % weechat.info_get_hashtable("irc_message_parse", dict_in)) ---------------------------------------- [[infolists]] diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.txt index 982cbc3da..936e66c0b 100644 --- a/doc/it/weechat_scripting.it.txt +++ b/doc/it/weechat_scripting.it.txt @@ -732,18 +732,18 @@ weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "") A malformed message could crash WeeChat or cause severe problems! Un messaggio errato può mandare in crash WeeChat o causare seri problemi! -[[irc_parse_message]] +[[irc_message_parse]] Verifica messaggio ^^^^^^^^^^^^^^^^^^ _Novità nella versione 0.3.4._ È possibile verificare un messaggio irc con una info_hashtable chiamata -"irc_parse_message". +"irc_message_parse". [source,python] ---------------------------------------- -dict = weechat.info_get_hashtable("irc_parse_message", +dict = weechat.info_get_hashtable("irc_message_parse", { "message": ":nick!user@host PRIVMSG #weechat :message here" }) weechat.prnt("", "dict: %s" % dict) |