1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:45:43 +02:00

Add new IRC commands /allchan and /allserv with excluding option, commands /ame and /amsg are now aliases, new aliases /aaway and /anick

This commit is contained in:
Sebastien Helleu
2010-01-08 16:20:16 +01:00
parent cf5009468e
commit 4da0cff321
16 changed files with 867 additions and 301 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
FlashCode <flashcode@flashtux.org>
v0.3.1-dev, 2009-12-31
v0.3.1-dev, 2010-01-08
Version 0.3.1 (under dev!)
@@ -24,6 +24,8 @@ Version 0.3.1 (under dev!)
* alias: fix bug with buffer for execution of alias, when called from plugin API
with function "command" (bug #27697)
* alias: fix bug with arguments (bug #27440)
* irc: add new commands /allchan and /allserv with excluding option, commands
/ame and /amsg are now aliases, new aliases /aaway and /anick
* irc: add options to customize target buffer for messages (task #7381)
* irc: use self-signed certificate to auto identify on IRC server (CertFP)
(task #7492, debian #453348)
+10
View File
@@ -1,6 +1,16 @@
WeeChat News
============
FlashCode, 2010-01-08::
WeeChat 0.3.1 is under development.
+
IRC commands /ame and /amsg are now aliases, if you are upgrading from
version 0.3.0, you must create aliases with following commands:
* `/alias aaway allserv /away`
* `/alias ame allchan /me`
* `/alias amsg allchan /amsg *`
* `/alias anick allserv /nick`
FlashCode, 2009-09-06::
WeeChat 0.3.0 released.
+
+25 -6
View File
@@ -6,20 +6,39 @@
target: server
........................................
&bull; *`/ame`* `message`::
&bull; *`/allchan`* `[-current] [-exclude=channel[,channel...]] command [arguments]`::
........................................
send a CTCP action to all channels of all connected servers
execute a command on all channels of all connected servers
message: message to send
-current: execute command for channels of curent server only
-exclude: exclude some channels ('*' is allowed at beginning or end of channel name, to exclude many channels)
command: command to execute
arguments: arguments for command
Examples:
execute '/me is testing' on all channels:
/allchan me is testing
say 'hello' everywhere but not on #weechat:
/allchan -exclude=#weechat msg * hello
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
/allchan -exclude=#weechat,#linux* msg * hello
........................................
&bull; *`/amsg`* `text`::
&bull; *`/allserv`* `[-exclude=server[,server...]] command [arguments]`::
........................................
send message to all channels of all connected servers
execute a command on all connected servers
text: text to send
-exclude: exclude some servers ('*' is allowed at beginning or end of server name, to exclude many servers)
command: command to execute
arguments: arguments for command
Examples:
change nick on all servers:
/allserv nick newnick
set away on all servers:
/allserv away I'm away
........................................
&bull; *`/away`* `[-all] [message]`::
+25 -6
View File
@@ -6,20 +6,39 @@
cible: serveur
........................................
&bull; *`/ame`* `message`::
&bull; *`/allchan`* `[-current] [-exclude=canal[,canal...]] commande [paramètres]`::
........................................
envoyer une action CTCP à tous les canaux de tous les serveurs connectés
exécuter une commande sur tous les canaux de tous les serveurs connectés
message: message à envoyer
-current: exécuter la commande pour les canaux du serveur courant seulement
-exclude: exclure certains canaux ('*' est autorisé au début ou à la fin du nom du canal, pour exclure plusieurs canaux)
commande: commande à exécuter
paramètres: paramètres pour la commande
Exemples :
exécuter '/me teste' sur tous les canaux :
/allchan me teste
dire 'bonjour' partout sauf sur #weechat :
/allchan -exclude=#weechat msg * bonjour
dire 'bonjour' partout sauf sur #weechat et les canaux commençant par #linux :
/allchan -exclude=#weechat,#linux* msg * bonjour
........................................
&bull; *`/amsg`* `texte`::
&bull; *`/allserv`* `[-exclude=serveur[,serveur...]] commande [paramètres]`::
........................................
envoyer un message à tous les canaux de tous les serveurs connectés
exécuter une commande sur tous les serveurs connectés
texte: texte à envoyer
-exclude: exclude certains serveurs ('*' is est autorisé en début ou fin du nom du serveur, pour exclure plusieurs serveurs)
commande: commande à exécuter
paramètres: paramètres pour la commande
Exemples :
changer de pseudo sur tous les serveurs :
/allserv nick newnick
positionner l'absence sur tous les serveurs :
/allserv away Je suis absent
........................................
&bull; *`/away`* `[-all] [message]`::
+25 -6
View File
@@ -6,20 +6,39 @@
destinazione: server
........................................
&bull; *`/ame`* `messaggio`::
&bull; *`/allchan`* `[-current] [-exclude=channel[,channel...]] command [arguments]`::
........................................
invia un comando CTCP per tutti i canali dei server connessi
execute a command on all channels of all connected servers
messaggio: messaggio da inviare
-current: execute command for channels of curent server only
-exclude: exclude some channels ('*' is allowed at beginning or end of channel name, to exclude many channels)
command: command to execute
arguments: arguments for command
Examples:
execute '/me is testing' on all channels:
/allchan me is testing
say 'hello' everywhere but not on #weechat:
/allchan -exclude=#weechat msg * hello
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
/allchan -exclude=#weechat,#linux* msg * hello
........................................
&bull; *`/amsg`* `testo`::
&bull; *`/allserv`* `[-exclude=server[,server...]] command [arguments]`::
........................................
invia un messaggio a tutti i canali di tutti dei server connessi
execute a command on all connected servers
testo: testo da inviare
-exclude: exclude some servers ('*' is allowed at beginning or end of server name, to exclude many servers)
command: command to execute
arguments: arguments for command
Examples:
change nick on all servers:
/allserv nick newnick
set away on all servers:
/allserv away I'm away
........................................
&bull; *`/away`* `[-all] [messaggio]`::
+52 -15
View File
File diff suppressed because it is too large Load Diff
+54 -17
View File
File diff suppressed because it is too large Load Diff
+52 -15
View File
File diff suppressed because it is too large Load Diff
+78 -18
View File
File diff suppressed because it is too large Load Diff
+53 -15
View File
File diff suppressed because it is too large Load Diff
+52 -15
View File
File diff suppressed because it is too large Load Diff
+52 -15
View File
File diff suppressed because it is too large Load Diff
+53 -15
View File
File diff suppressed because it is too large Load Diff
+40 -11
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2010-01-03 15:15+0100\n"
"POT-Creation-Date: 2010-01-07 21:55+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -2312,10 +2312,6 @@ msgstr ""
msgid "%s%s: cannot allocate new channel"
msgstr ""
#, c-format
msgid "%s%s: cannot find nick for sending message"
msgstr ""
#, c-format
msgid "%s: future away: %s"
msgstr ""
@@ -2521,22 +2517,46 @@ msgstr ""
msgid "target: server"
msgstr ""
msgid "send a CTCP action to all channels of all connected servers"
msgid "execute a command on all channels of all connected servers"
msgstr ""
msgid "message"
msgid "[-current] [-exclude=channel[,channel...]] command [arguments]"
msgstr ""
msgid "message: message to send"
msgid ""
" -current: execute command for channels of curent server only\n"
" -exclude: exclude some channels ('*' is allowed at beginning or end of "
"channel name, to exclude many channels)\n"
" command: command to execute\n"
"arguments: arguments for command\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
" /allchan me is testing\n"
" say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello"
msgstr ""
msgid "send message to all channels of all connected servers"
msgid "execute a command on all connected servers"
msgstr ""
msgid "text"
msgid "[-exclude=server[,server...]] command [arguments]"
msgstr ""
msgid "text: text to send"
msgid ""
" -exclude: exclude some servers ('*' is allowed at beginning or end of "
"server name, to exclude many servers)\n"
" command: command to execute\n"
"arguments: arguments for command\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
" /allserv nick newnick\n"
" set away on all servers:\n"
" /allserv away I'm away"
msgstr ""
msgid "toggle away status"
@@ -2788,6 +2808,12 @@ msgstr ""
msgid "send a CTCP action to the current channel"
msgstr ""
msgid "message"
msgstr ""
msgid "message: message to send"
msgstr ""
msgid "change channel or user mode"
msgstr ""
@@ -3170,6 +3196,9 @@ msgid ""
"mode for themselves"
msgstr ""
msgid "text"
msgstr ""
msgid "text to send"
msgstr ""
+4
View File
@@ -661,6 +661,10 @@ alias_config_write_default (void *data,
weechat_config_write_line (config_file, section_name, NULL);
weechat_config_write_line (config_file, "AAWAY", "%s", "\"allserv /away\"");
weechat_config_write_line (config_file, "AME", "%s", "\"allchan /me\"");
weechat_config_write_line (config_file, "AMSG", "%s", "\"allchan /msg *\"");
weechat_config_write_line (config_file, "ANICK", "%s", "\"allserv /nick\"");
weechat_config_write_line (config_file, "BYE", "%s", "\"quit\"");
weechat_config_write_line (config_file, "C", "%s", "\"buffer clear\"");
weechat_config_write_line (config_file, "CL", "%s", "\"buffer clear\"");
File diff suppressed because it is too large Load Diff