summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-07-20 22:20:22 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-07-20 22:20:22 +0200
commitee3a4a1fc01815c64354d1c793fc5330a079b2d9 (patch)
treed5282ec0ef03892b43d3341527ab57e56bc6fdab
parent5bf571c60f75ec6c502177d4a1110090fac49cce (diff)
downloadweechat-ee3a4a1fc01815c64354d1c793fc5330a079b2d9.zip
irc: evaluate command executed by commands /allchan, /allpv and /allserv (closes #1536)
The extra variables are now replaced (in addition to `$server`, `$channel` and `$nick`): - `${irc_server.xxx}`: variable xxx in server - `${irc_channel.xxx}`: variable xxx in channel
-rw-r--r--ChangeLog.adoc4
-rw-r--r--doc/de/includes/autogen_user_commands.de.adoc110
-rw-r--r--doc/en/includes/autogen_user_commands.en.adoc34
-rw-r--r--doc/fr/includes/autogen_user_commands.fr.adoc34
-rw-r--r--doc/it/includes/autogen_user_commands.it.adoc34
-rw-r--r--doc/ja/includes/autogen_user_commands.ja.adoc86
-rw-r--r--doc/pl/includes/autogen_user_commands.pl.adoc100
-rw-r--r--po/cs.po42
-rw-r--r--po/de.po48
-rw-r--r--po/es.po42
-rw-r--r--po/fr.po84
-rw-r--r--po/hu.po42
-rw-r--r--po/it.po42
-rw-r--r--po/ja.po48
-rw-r--r--po/pl.po48
-rw-r--r--po/pt.po42
-rw-r--r--po/pt_BR.po45
-rw-r--r--po/ru.po42
-rw-r--r--po/tr.po42
-rw-r--r--po/weechat.pot42
-rw-r--r--src/plugins/irc/irc-command.c175
21 files changed, 779 insertions, 407 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index 99d8b75f8..f55b63d0a 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -18,6 +18,10 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
[[v3.0]]
== Version 3.0 (under dev)
+New features::
+
+ * irc: evaluate command executed by commands /allchan, /allpv and /allserv (issue #1536)
+
Bug fixes::
* core: do not add line with highlight and tag "notify_none" to hotlist (issue #1529)
diff --git a/doc/de/includes/autogen_user_commands.de.adoc b/doc/de/includes/autogen_user_commands.de.adoc
index bdbb922e7..d26349300 100644
--- a/doc/de/includes/autogen_user_commands.de.adoc
+++ b/doc/de/includes/autogen_user_commands.de.adoc
@@ -17,49 +17,61 @@ target: Servername
* `+allchan+`: führt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind
----
-/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
- [-current] -include=<channel>[,<channel>...] <command> [<arguments>]
-
- -current: führt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
- -exclude: dient zum Ausschluss ausgewählter Channels (Platzhalter "*" kann verwendet werden)
- -include: findet Anwendung für ausgewählte Channels (Platzhalter "*" kann verwendet werden)\n
- command: Befehl der ausgeführt werden soll
-arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
-
-Beispiele:
- führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
- /allchan me Ich teste gerade etwas...
- schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel:
- /allchan -exclude=#weechat msg * Hallo Welt
- schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
- /allchan -exclude=#weechat,#linux* msg * Hallo Welt
- schickt den Text 'Hallo' an alle Channels die mit #linux beginnen:
- /allchan -include=#linux* msg * Hallo
+/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
+ [-current] -include=<channel>[,<channel>...] <command>
+
+ -current: execute command for channels of current server only
+ -exclude: exclude some channels (wildcard "*" is allowed)
+ -include: include only some channels (wildcard "*" is allowed)
+ command: command to execute
+
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
+
+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
+ say 'hello' on all channels beginning with #linux:
+ /allchan -include=#linux* msg * hello
----
[[command_irc_allpv]]
* `+allpv+`: führt einen Befehl aus der an alle privaten Buffer gesendet wird, die mit einem Server verbunden sind
----
-/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
- [-current] -include=<nick>[,<nick>...] <command> [<arguments>]
-
- -current: führt einen Befehl aus der für alle privaten Buffer, des aktuellen Servers, Anwendung findet
- -exclude: dient zum Ausschluss ausgewählter Nicks (Platzhalter "*" kann verwendet werden)
- -include: findet Anwendung für ausgewählte Nicks (Platzhalter "*" kann verwendet werden)
- command: Befehl der ausgeführt werden soll
-arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
-
-Beispiele:
- führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer aus:
- /allpv me Ich teste gerade etwas...
- schicke 'Hallo' an alle, ausgenommen an Nick foo:
- /allpv -exclude=foo msg * Hallo
- schicke den Text 'Hallo' an alle, ausgenommen für Nick foo und Nicks die mit bar beginnen:
- /allpv -exclude=foo,bar* msg * Hallo
- schicke den Text 'Hallo' an alle Nicks die mit bar beginnen:
- /allpv -include=bar* msg * Hallo
- schließe alle privaten Buffer:
+/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
+ [-current] -include=<nick>[,<nick>...] <command>
+
+ -current: execute command for private buffers of current server only
+ -exclude: exclude some nicks (wildcard "*" is allowed)
+ -include: include only some nicks (wildcard "*" is allowed)
+ command: command to execute
+
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
+
+Examples:
+ execute '/me is testing' on all private buffers:
+ /allpv me is testing
+ say 'hello' everywhere but not for nick foo:
+ /allpv -exclude=foo msg * hello
+ say 'hello' everywhere but not for nick foo and nicks beginning with bar:
+ /allpv -exclude=foo,bar* msg * hello
+ say 'hello' for all nicks beginning with bar:
+ /allpv -include=bar* msg * hello
+ close all private buffers:
/allpv close
----
@@ -67,20 +79,24 @@ Beispiele:
* `+allserv+`: führt einen Befehl aus, der zu allen verbundenen Server gesendet wird
----
-/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
- -include=<server>[,<server>...] <command> [<arguments>]
+/allserv [-exclude=<server>[,<server>...]] <command>
+ -include=<server>[,<server>...] <command>
- -exclude: dient zum Ausschluss ausgewählter Server (Platzhalter "*" kann verwendet werden)
- -include: findet Anwendung für ausgewählte Server (Platzhalter "*" kann verwendet werden)
- command: Befehl der ausgeführt werden soll
-arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
+ -exclude: exclude some servers (wildcard "*" is allowed)
+ -include: include only some servers (wildcard "*" is allowed)
+ command: command to execute
-Beispiele:
- ändere den Nick auf allen Servern:
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+
+Examples:
+ change nick on all servers:
/allserv nick newnick
- setzt den Status, auf allen Servern, auf abwesend:
+ set away on all servers:
/allserv away I'm away
- führt ein whois mit meinem nick auf allen Servern aus:
+ do a whois on my nick on all servers:
/allserv whois $nick
----
diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc
index 745577b9c..d0b24a4fa 100644
--- a/doc/en/includes/autogen_user_commands.en.adoc
+++ b/doc/en/includes/autogen_user_commands.en.adoc
@@ -17,14 +17,20 @@ target: server name
* `+allchan+`: execute a command on all channels of all connected servers
----
-/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
- [-current] -include=<channel>[,<channel>...] <command> [<arguments>]
+/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
+ [-current] -include=<channel>[,<channel>...] <command>
-current: execute command for channels of current server only
-exclude: exclude some channels (wildcard "*" is allowed)
-include: include only some channels (wildcard "*" is allowed)
command: command to execute
-arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
+
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
Examples:
execute '/me is testing' on all channels:
@@ -41,14 +47,20 @@ Examples:
* `+allpv+`: execute a command on all private buffers of all connected servers
----
-/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
- [-current] -include=<nick>[,<nick>...] <command> [<arguments>]
+/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
+ [-current] -include=<nick>[,<nick>...] <command>
-current: execute command for private buffers of current server only
-exclude: exclude some nicks (wildcard "*" is allowed)
-include: include only some nicks (wildcard "*" is allowed)
command: command to execute
-arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
+
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
Examples:
execute '/me is testing' on all private buffers:
@@ -67,13 +79,17 @@ Examples:
* `+allserv+`: execute a command on all connected servers
----
-/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
- -include=<server>[,<server>...] <command> [<arguments>]
+/allserv [-exclude=<server>[,<server>...]] <command>
+ -include=<server>[,<server>...] <command>
-exclude: exclude some servers (wildcard "*" is allowed)
-include: include only some servers (wildcard "*" is allowed)
command: command to execute
-arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
+
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
Examples:
change nick on all servers:
diff --git a/doc/fr/includes/autogen_user_commands.fr.adoc b/doc/fr/includes/autogen_user_commands.fr.adoc
index 505bac1f5..571288f39 100644
--- a/doc/fr/includes/autogen_user_commands.fr.adoc
+++ b/doc/fr/includes/autogen_user_commands.fr.adoc
@@ -17,14 +17,20 @@ cible : nom du serveur
* `+allchan+`: exécuter une commande sur tous les canaux de tous les serveurs connectés
----
-/allchan [-current] [-exclude=<canal>[,<canal>...]] <commande> [<paramètres>]
- [-current] [-include=<canal>[,<canal>...]] <commande> [<paramètres>]
+/allchan [-current] [-exclude=<canal>[,<canal>...]] <commande>
+ [-current] [-include=<canal>[,<canal>...]] <commande>
-current : exécuter la commande pour les canaux du serveur courant seulement
-exclude : exclure certains canaux (le caractère joker "*" est autorisé)
-include : inclure seulement certains canaux (le caractère joker "*" est autorisé)
commande : commande à exécuter
-paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
+
+La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
+ $server nom du serveur
+ $channel nom du canal
+ $nick pseudo sur le serveur
+ ${irc_server.xxx} variable xxx dans le serveur
+ ${irc_channel.xxx} variable xxx dans le canal
Exemples :
exécuter '/me teste' sur tous les canaux :
@@ -41,14 +47,20 @@ Exemples :
* `+allpv+`: exécuter une commande sur tous les tampons privés de tous les serveurs connectés
----
-/allpv [-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]
- [-current] [-include=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]
+/allpv [-current] [-exclude=<pseudo>[,<pseudo>...]] <commande>
+ [-current] [-include=<pseudo>[,<pseudo>...]] <commande>
-current : exécuter la commande pour les tampons privés du serveur courant seulement
-exclude : exclure certains pseudos (le caractère joker "*" est autorisé)
-include : inclure seulement certains pseudos (le caractère joker "*" est autorisé)
commande : commande à exécuter
-paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
+
+La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
+ $server nom du serveur
+ $channel nom du canal
+ $nick pseudo sur le serveur
+ ${irc_server.xxx} variable xxx dans le serveur
+ ${irc_channel.xxx} variable xxx dans le canal
Exemples :
exécuter '/me teste' sur tous les tampons privés :
@@ -67,13 +79,17 @@ Exemples :
* `+allserv+`: exécuter une commande sur tous les serveurs connectés
----
-/allserv [-exclude=<serveur>[,<serveur>...]] <commande> [<paramètres>]
- [-include=<serveur>[,<serveur>...]] <commande> [<paramètres>]
+/allserv [-exclude=<serveur>[,<serveur>...]] <commande>
+ [-include=<serveur>[,<serveur>...]] <commande>
-exclude : exclure certains serveurs (le caractère joker "*" est autorisé)
-include : inclure seulement certains serveurs (le caractère joker "*" est autorisé)
commande : commande à exécuter
-paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
+
+La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
+ $server nom du serveur
+ $nick pseudo sur le serveur
+ ${irc_server.xxx} variable xxx dans le serveur
Exemples :
changer de pseudo sur tous les serveurs :
diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc
index f8a904031..731105b77 100644
--- a/doc/it/includes/autogen_user_commands.it.adoc
+++ b/doc/it/includes/autogen_user_commands.it.adoc
@@ -17,14 +17,20 @@ destinazione: nome server
* `+allchan+`: esegue un comando su tutti i canali di tutti i server connessi
----
-/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
- [-current] -include=<channel>[,<channel>...] <command> [<arguments>]
+/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
+ [-current] -include=<channel>[,<channel>...] <command>
-current: execute command for channels of current server only
-exclude: exclude some channels (wildcard "*" is allowed)
-include: include only some channels (wildcard "*" is allowed)
command: command to execute
-arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
+
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
Examples:
execute '/me is testing' on all channels:
@@ -41,14 +47,20 @@ Examples:
* `+allpv+`: execute a command on all private buffers of all connected servers
----
-/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
- [-current] -include=<nick>[,<nick>...] <command> [<arguments>]
+/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
+ [-current] -include=<nick>[,<nick>...] <command>
-current: execute command for private buffers of current server only
-exclude: exclude some nicks (wildcard "*" is allowed)
-include: include only some nicks (wildcard "*" is allowed)
command: command to execute
-arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
+
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
Examples:
execute '/me is testing' on all private buffers:
@@ -67,13 +79,17 @@ Examples:
* `+allserv+`: esegue un comando su tutti i server connessi
----
-/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
- -include=<server>[,<server>...] <command> [<arguments>]
+/allserv [-exclude=<server>[,<server>...]] <command>
+ -include=<server>[,<server>...] <command>
-exclude: exclude some servers (wildcard "*" is allowed)
-include: include only some servers (wildcard "*" is allowed)
command: command to execute
-arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
+
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
Examples:
change nick on all servers:
diff --git a/doc/ja/includes/autogen_user_commands.ja.adoc b/doc/ja/includes/autogen_user_commands.ja.adoc
index 90e0d0fdc..1cdf1a8d4 100644
--- a/doc/ja/includes/autogen_user_commands.ja.adoc
+++ b/doc/ja/includes/autogen_user_commands.ja.adoc
@@ -17,23 +17,29 @@ target: サーバ名
* `+allchan+`: 全てのサーバ、全てのチャンネルに対してコマンドを実行
----
-/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
- [-current] -include=<channel>[,<channel>...] <command> [<arguments>]
+/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
+ [-current] -include=<channel>[,<channel>...] <command>
- -current: 現在のサーバ上のチャンネルに対してコマンドを実行
- -exclude: 一部のチャンネルを除く全てのチャンネルに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
- -include: 一部のチャンネルに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
- command: 実行するコマンド
-arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
+ -current: execute command for channels of current server only
+ -exclude: exclude some channels (wildcard "*" is allowed)
+ -include: include only some channels (wildcard "*" is allowed)
+ command: command to execute
-例:
- 全てのチャンネルに対して '/me is testing' を実行:
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
+
+Examples:
+ execute '/me is testing' on all channels:
/allchan me is testing
- チャンネル名が #weechat のチャンネルを除く全てのチャンネルに対して 'hello' と発言:
+ say 'hello' everywhere but not on #weechat:
/allchan -exclude=#weechat msg * hello
- チャンネル名が #weechat と #linux で始まるチャンネルを除く全てのチャンネルに対して 'hello' と発言:
+ say 'hello' everywhere but not on #weechat and channels beginning with #linux:
/allchan -exclude=#weechat,#linux* msg * hello
- チャンネル名が #linux で始まるチャンネルに対して 'hello' と発言:
+ say 'hello' on all channels beginning with #linux:
/allchan -include=#linux* msg * hello
----
@@ -41,25 +47,31 @@ arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそ
* `+allpv+`: 全ての接続済みサーバの全てのプライベートバッファに対してコマンドを実行
----
-/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
- [-current] -include=<nick>[,<nick>...] <command> [<arguments>]
+/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
+ [-current] -include=<nick>[,<nick>...] <command>
- -current: 現在のサーバ上の全てのプライベートバッファに対してコマンドを実行
- -exclude: 一部のニックネームを除外した全てのプライベートバッファに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
- -include: 一部のニックネームのプライベートバッファに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
- command: 実行するコマンド
-arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
+ -current: execute command for private buffers of current server only
+ -exclude: exclude some nicks (wildcard "*" is allowed)
+ -include: include only some nicks (wildcard "*" is allowed)
+ command: command to execute
-例:
- 全てのプライベートバッファに対して '/me is testing' を実行:
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
+
+Examples:
+ execute '/me is testing' on all private buffers:
/allpv me is testing
- ニックネーム foo を除く全てのプライベートバッファに対して 'hello' と発言:
+ say 'hello' everywhere but not for nick foo:
/allpv -exclude=foo msg * hello
- ニックネームが foo と bar で始まるニックネームを除く全てのプライベートバッファに対して 'hello' と発言:
+ say 'hello' everywhere but not for nick foo and nicks beginning with bar:
/allpv -exclude=foo,bar* msg * hello
- ニックネームが bar で始まるニックネームのプライベートバッファに対して 'hello' と発言:
+ say 'hello' for all nicks beginning with bar:
/allpv -include=bar* msg * hello
- 全てのプライベートバッファを閉じる:
+ close all private buffers:
/allpv close
----
@@ -67,20 +79,24 @@ arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそ
* `+allserv+`: 全ての接続済みサーバでコマンドを実行
----
-/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
- -include=<server>[,<server>...] <command> [<arguments>]
+/allserv [-exclude=<server>[,<server>...]] <command>
+ -include=<server>[,<server>...] <command>
- -exclude: 一部のサーバを除く全てのサーバに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
- -include: 一部のサーバのみに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
- command: 実行するコマンド
-arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
+ -exclude: exclude some servers (wildcard "*" is allowed)
+ -include: include only some servers (wildcard "*" is allowed)
+ command: command to execute
-例:
- 全てのサーバに対してニックネーム変更:
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+
+Examples:
+ change nick on all servers:
/allserv nick newnick
- 全てのサーバに対して離席状態を変更:
+ set away on all servers:
/allserv away I'm away
- 全てのサーバに対して自分のニックネームに関する whois を実行:
+ do a whois on my nick on all servers:
/allserv whois $nick
----
diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc
index 38ffdc88e..46866828e 100644
--- a/doc/pl/includes/autogen_user_commands.pl.adoc
+++ b/doc/pl/includes/autogen_user_commands.pl.adoc
@@ -17,49 +17,61 @@ cel: nazwa serwera
* `+allchan+`: wykonuje komendę na wszystkich kanałach na połączonych serwerach
----
-/allchan [-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>]
- [-current] -include=<kanał>[,<kanał>...] <komenda> [<argumenty>]
+/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
+ [-current] -include=<channel>[,<channel>...] <command>
- -current: wykonuje komendę tylko na kanałach obecnego serwera
- -exclude: wyklucza niektóre kanały (wildcard "*" jest dozwolony)
- -include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony)
- komenda: komenda do wykonania
-argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
+ -current: execute command for channels of current server only
+ -exclude: exclude some channels (wildcard "*" is allowed)
+ -include: include only some channels (wildcard "*" is allowed)
+ command: command to execute
-Przykłady:
- wykonuje '/me testuje' na wszystkich kanałach:
- /allchan me testuje
- wysyła 'witam' wszędzie tylko nie na #weechat:
- /allchan -exclude=#weechat msg * witam
- wysyła 'witam' wszędzie poza #weechat oraz kanałami zaczynającymi się od #linux:
- /allchan -exclude=#weechat,#linux* msg * witam
- wysyła 'witam' na wszytkich kanałach zaczynających się od #linux:
- /allchan -include=#linux* msg * witam
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
+
+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
+ say 'hello' on all channels beginning with #linux:
+ /allchan -include=#linux* msg * hello
----
[[command_irc_allpv]]
* `+allpv+`: wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych serwerów
----
-/allpv [-current] [-exclude=<nick>[,<nick>...]] <komenda> [<argumenty>]
- [-current] -include=<nick>[,<nick>...] <komenda> [<argumenty>]
+/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
+ [-current] -include=<nick>[,<nick>...] <command>
- -current: wykonuje komendę tylko na prywatnych buforach obecnego serwera
- -exclude: wyklucza niektóre nicki (wildcard "*" jest dozwolony)
- -include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony)
- komenda: komenda do wykonania
-argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
+ -current: execute command for private buffers of current server only
+ -exclude: exclude some nicks (wildcard "*" is allowed)
+ -include: include only some nicks (wildcard "*" is allowed)
+ command: command to execute
-Przykłady:
- wykonuje '/me testuje' we wszystkich prywatnych buforach:
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $channel channel name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+ ${irc_channel.xxx} variable xxx in channel
+
+Examples:
+ execute '/me is testing' on all private buffers:
/allpv me is testing
- wysyła wszędzie 'hello' tylko nie nickowi foo:
+ say 'hello' everywhere but not for nick foo:
/allpv -exclude=foo msg * hello
- wysyła wszędzie 'hello' tylko nie nickowi foo i nickom zaczynającym się od bar:
+ say 'hello' everywhere but not for nick foo and nicks beginning with bar:
/allpv -exclude=foo,bar* msg * hello
- wysyła 'witam' do wszystkich nicków zaczynających się od bar:
- /allpv -include=bar* msg * witam
- zamyka wszystkie prywatne bufory:
+ say 'hello' for all nicks beginning with bar:
+ /allpv -include=bar* msg * hello
+ close all private buffers:
/allpv close
----
@@ -67,20 +79,24 @@ Przykłady:
* `+allserv+`: wykonuje komendę na wszystkich połączonych serwerach
----
-/allserv [-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>]
- -include=<serwer>[,<serwer>...] <komenda> [<argumenty>]
+/allserv [-exclude=<server>[,<server>...]] <command>
+ -include=<server>[,<server>...] <command>
- -exclude: wyklucza niektóre serwery (wildcard "*" jest dozwolony)
- -include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony)
- komenda: komenda do wykonania
-argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
+ -exclude: exclude some servers (wildcard "*" is allowed)
+ -include: include only some servers (wildcard "*" is allowed)
+ command: command to execute
-Przykłady:
- zmienia nick na wszystkich serwerach:
- /allserv nick nowy_nick
- ustawia stan nieobecności na wszystkich serwerach:
- /allserv away Jestem nieobecny
- wykonuje whois na własnym nicku na wszystkich serwerach:
+Command and arguments are evaluated (see /help eval), the following variables are replaced:
+ $server server name
+ $nick nick on server
+ ${irc_server.xxx} variable xxx in server
+
+Examples:
+ change nick on all servers:
+ /allserv nick newnick
+ set away on all servers:
+ /allserv away I'm away
+ do a whois on my nick on all servers:
/allserv whois $nick
----
diff --git a/po/cs.po b/po/cs.po
index 26bb5958e..b2b0a4d35 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6524,8 +6524,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
#, fuzzy
@@ -6534,8 +6534,14 @@ msgid ""
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -6568,8 +6574,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
#, fuzzy
@@ -6578,8 +6584,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -6612,8 +6624,8 @@ msgstr "vykonat příkaz na všech připojených serverech"
#, fuzzy
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr "[-exclude=<server>[,<server>...]] <příkaz> [<argumenty>]"
#, fuzzy
@@ -6621,8 +6633,12 @@ msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/de.po b/po/de.po
index fe9402ba9..5ea93e420 100644
--- a/po/de.po
+++ b/po/de.po
@@ -24,7 +24,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-07-04 14:06+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -8024,20 +8024,28 @@ msgstr ""
"führt einen Befehl aus der an alle Channels gesendet wird, die mit einem "
"Server verbunden sind"
+#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+#, fuzzy
msgid ""
" -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -8077,20 +8085,28 @@ msgstr ""
"führt einen Befehl aus der an alle privaten Buffer gesendet wird, die mit "
"einem Server verbunden sind"
+#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+#, fuzzy
msgid ""
" -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -8131,19 +8147,25 @@ msgstr ""
msgid "execute a command on all connected servers"
msgstr "führt einen Befehl aus, der zu allen verbundenen Server gesendet wird"
+#, fuzzy
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
"include=<server>[,<server>...] <command> [<arguments>]"
+#, fuzzy
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/es.po b/po/es.po
index eacfc3eaf..3d73d291f 100644
--- a/po/es.po
+++ b/po/es.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6737,8 +6737,8 @@ msgstr ""
#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -6747,8 +6747,14 @@ msgid ""
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -6783,8 +6789,8 @@ msgstr ""
#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -6793,8 +6799,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -6828,8 +6840,8 @@ msgstr "ejecuta un comando en todos los servidores conectados"
#, fuzzy
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -6837,8 +6849,12 @@ msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/fr.po b/po/fr.po
index 835fedcfb..ac451b32c 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
-"PO-Revision-Date: 2020-06-21 18:57+0200\n"
+"POT-Creation-Date: 2020-07-20 22:01+0200\n"
+"PO-Revision-Date: 2020-07-20 22:18+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -7855,19 +7855,25 @@ msgstr ""
"exécuter une commande sur tous les canaux de tous les serveurs connectés"
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr ""
-"[-current] [-exclude=<canal>[,<canal>...]] <commande> [<paramètres>] || [-"
-"current] [-include=<canal>[,<canal>...]] <commande> [<paramètres>]"
+"[-current] [-exclude=<canal>[,<canal>...]] <commande> || [-current] [-"
+"include=<canal>[,<canal>...]] <commande>"
msgid ""
" -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -7887,8 +7893,14 @@ msgstr ""
" -include : inclure seulement certains canaux (le caractère joker \"*\" est "
"autorisé)\n"
" commande : commande à exécuter\n"
-"paramètres : paramètres pour la commande (les variables spéciales $nick, "
-"$channel et $server sont remplacées par leur valeur)\n"
+"\n"
+"La commande et les paramètres sont évalués (voir /help eval), les variables "
+"suivantes sont remplacées :\n"
+" $server nom du serveur\n"
+" $channel nom du canal\n"
+" $nick pseudo sur le serveur\n"
+" ${irc_server.xxx} variable xxx dans le serveur\n"
+" ${irc_channel.xxx} variable xxx dans le canal\n"
"\n"
"Exemples :\n"
" exécuter '/me teste' sur tous les canaux :\n"
@@ -7907,19 +7919,25 @@ msgstr ""
"connectés"
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr ""
-"[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> [<paramètres>] || [-"
-"current] [-include=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]"
+"[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> || [-current] [-"
+"include=<pseudo>[,<pseudo>...]] <commande>"
msgid ""
" -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -7940,8 +7958,14 @@ msgstr ""
" -include : inclure seulement certains pseudos (le caractère joker \"*\" "
"est autorisé)\n"
" commande : commande à exécuter\n"
-"paramètres : paramètres pour la commande (les variables spéciales $nick, "
-"$channel et $server sont remplacées par leur valeur)\n"
+"\n"
+"La commande et les paramètres sont évalués (voir /help eval), les variables "
+"suivantes sont remplacées :\n"
+" $server nom du serveur\n"
+" $channel nom du canal\n"
+" $nick pseudo sur le serveur\n"
+" ${irc_server.xxx} variable xxx dans le serveur\n"
+" ${irc_channel.xxx} variable xxx dans le canal\n"
"\n"
"Exemples :\n"
" exécuter '/me teste' sur tous les tampons privés :\n"
@@ -7960,18 +7984,22 @@ msgid "execute a command on all connected servers"
msgstr "exécuter une commande sur tous les serveurs connectés"
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr ""
-"[-exclude=<serveur>[,<serveur>...]] <commande> [<paramètres>] || [-"
-"include=<serveur>[,<serveur>...]] <commande> [<paramètres>]"
+"[-exclude=<serveur>[,<serveur>...]] <commande> || [-include=<serveur>[,"
+"<serveur>...]] <commande>"
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
@@ -7986,8 +8014,12 @@ msgstr ""
" -include : inclure seulement certains serveurs (le caractère joker \"*\" "
"est autorisé)\n"
" commande : commande à exécuter\n"
-"paramètres : paramètres pour la commande (les variables spéciales $nick, "
-"$channel et $server sont remplacées par leur valeur)\n"
+"\n"
+"La commande et les paramètres sont évalués (voir /help eval), les variables "
+"suivantes sont remplacées :\n"
+" $server nom du serveur\n"
+" $nick pseudo sur le serveur\n"
+" ${irc_server.xxx} variable xxx dans le serveur\n"
"\n"
"Exemples :\n"
" changer de pseudo sur tous les serveurs :\n"
diff --git a/po/hu.po b/po/hu.po
index de1b0b216..0bd7aeff2 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6044,8 +6044,8 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr "[alias_név [parancs [paraméterek]]]"
msgid ""
@@ -6053,8 +6053,14 @@ msgid ""
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -6074,8 +6080,8 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr "[alias_név [parancs [paraméterek]]]"
msgid ""
@@ -6083,8 +6089,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -6104,16 +6116,20 @@ msgid "execute a command on all connected servers"
msgstr "üzenet küldése az összes csatlakoztatott szerver összes szobájába"
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr ""
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/it.po b/po/it.po
index 6c4fe3efb..bc18ef8f8 100644
--- a/po/it.po
+++ b/po/it.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6908,8 +6908,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
#, fuzzy
@@ -6918,8 +6918,14 @@ msgid ""
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -6953,8 +6959,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
#, fuzzy
@@ -6963,8 +6969,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -6998,8 +7010,8 @@ msgstr "esegue un comando su tutti i server connessi"
#, fuzzy
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr "[-exclude=<server>[,<server>...]] <comando> [<argomenti>]"
#, fuzzy
@@ -7007,8 +7019,12 @@ msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/ja.po b/po/ja.po
index 3f601b500..a0f12cf87 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -7491,20 +7491,28 @@ msgstr "target: サーバ名"
msgid "execute a command on all channels of all connected servers"
msgstr "全てのサーバ、全てのチャンネルに対してコマンドを実行"
+#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+#, fuzzy
msgid ""
" -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -7541,20 +7549,28 @@ msgstr ""
msgid "execute a command on all private buffers of all connected servers"
msgstr "全ての接続済みサーバの全てのプライベートバッファに対してコマンドを実行"
+#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+#, fuzzy
msgid ""
" -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -7594,19 +7610,25 @@ msgstr ""
msgid "execute a command on all connected servers"
msgstr "全ての接続済みサーバでコマンドを実行"
+#, fuzzy
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
"include=<server>[,<server>...] <command> [<arguments>]"
+#, fuzzy
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/pl.po b/po/pl.po
index 6f5536f4a..cd0c80193 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -7644,20 +7644,28 @@ msgstr "cel: nazwa serwera"
msgid "execute a command on all channels of all connected servers"
msgstr "wykonuje komendę na wszystkich kanałach na połączonych serwerach"
+#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr ""
"[-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>] || [-"
"current] -include=<kanał>[,<kanał>...] <komenda> [<argumenty>]"
+#, fuzzy
msgid ""
" -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -7693,20 +7701,28 @@ msgstr ""
"wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych "
"serwerów"
+#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr ""
"[-current] [-exclude=<nick>[,<nick>...]] <komenda> [<argumenty>] || [-"
"current] -include=<nick>[,<nick>...] <komenda> [<argumenty>]"
+#, fuzzy
msgid ""
" -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -7743,19 +7759,25 @@ msgstr ""
msgid "execute a command on all connected servers"
msgstr "wykonuje komendę na wszystkich połączonych serwerach"
+#, fuzzy
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr ""
"[-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>] || -"
"include=<serwer>[,<serwer>...] <komenda> [<argumenty>]"
+#, fuzzy
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/pt.po b/po/pt.po
index abad9b91a..80d858103 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -7280,8 +7280,8 @@ msgstr ""
#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -7290,8 +7290,14 @@ msgid ""
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -7325,8 +7331,8 @@ msgstr ""
#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<nick>[,<nick>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -7335,8 +7341,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -7371,8 +7383,8 @@ msgstr "executar um comando em todos os servidores conectados"
#, fuzzy
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -7380,8 +7392,12 @@ msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index dd46300fa..be83a34df 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-18 11:34+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6682,18 +6682,25 @@ msgstr ""
msgid "execute a command on all channels of all connected servers"
msgstr ""
+#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
-msgstr ""
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
+msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
msgid ""
" -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -6712,8 +6719,8 @@ msgstr ""
#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
msgid ""
@@ -6721,8 +6728,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -6741,16 +6754,20 @@ msgid "execute a command on all connected servers"
msgstr ""
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr ""
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/ru.po b/po/ru.po
index 75d9233d1..c47067c17 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6085,8 +6085,8 @@ msgstr "отправить действие на все каналы всех п
#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr "[сокращение [команда [аргументы]]]"
msgid ""
@@ -6094,8 +6094,14 @@ msgid ""
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -6115,8 +6121,8 @@ msgstr "отправить действие на все каналы всех п
#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr "[сокращение [команда [аргументы]]]"
msgid ""
@@ -6124,8 +6130,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -6145,16 +6157,20 @@ msgid "execute a command on all connected servers"
msgstr "отправить сообщение на все каналы всех поключенных серверов"
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr ""
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/tr.po b/po/tr.po
index abca47370..1da9a7ae5 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:16+0200\n"
"PO-Revision-Date: 2019-11-03 08:38+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5594,8 +5594,8 @@ msgstr ""
#, fuzzy
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<kanal>[,<kanal>...]] <komut> [<argümanlar>]"
msgid ""
@@ -5603,8 +5603,14 @@ msgid ""
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -5623,8 +5629,8 @@ msgstr ""
#, fuzzy
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<kanal>[,<kanal>...]] <komut> [<argümanlar>]"
msgid ""
@@ -5632,8 +5638,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -5653,16 +5665,20 @@ msgstr ""
#, fuzzy
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr "[-exclude=<sunucu>[,<sunucu>...]] <komut> [<argümanlar>]"
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/po/weechat.pot b/po/weechat.pot
index d6724e8f2..d9207726a 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-06-21 18:56+0200\n"
+"POT-Creation-Date: 2020-07-20 22:01+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5536,8 +5536,8 @@ msgid "execute a command on all channels of all connected servers"
msgstr ""
msgid ""
-"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
-"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
+"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
+"include=<channel>[,<channel>...] <command>"
msgstr ""
msgid ""
@@ -5545,8 +5545,14 @@ msgid ""
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -5564,8 +5570,8 @@ msgid "execute a command on all private buffers of all connected servers"
msgstr ""
msgid ""
-"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
-"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
+"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
+"include=<nick>[,<nick>...] <command>"
msgstr ""
msgid ""
@@ -5573,8 +5579,14 @@ msgid ""
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $channel channel name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
+" ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -5593,16 +5605,20 @@ msgid "execute a command on all connected servers"
msgstr ""
msgid ""
-"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
-"include=<server>[,<server>...] <command> [<arguments>]"
+"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
+"<server>...] <command>"
msgstr ""
msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
-"arguments: arguments for command (special variables $nick, $channel and "
-"$server are replaced by their value)\n"
+"\n"
+"Command and arguments are evaluated (see /help eval), the following "
+"variables are replaced:\n"
+" $server server name\n"
+" $nick nick on server\n"
+" ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 6d6d7fda9..047a2c69b 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -382,6 +382,72 @@ IRC_COMMAND_CALLBACK(admin)
}
/*
+ * Executes a command on a list of IRC buffers.
+ */
+
+void
+irc_command_exec_buffers (struct t_weelist *list_buffers,
+ const char *command)
+{
+ struct t_irc_server *ptr_server;
+ struct t_irc_channel *ptr_channel;
+ struct t_gui_buffer *ptr_buffer;
+ struct t_hashtable *pointers;
+ const char *ptr_buffer_name;
+ char *cmd_vars_replaced, *cmd_eval;
+ int i, list_size;
+
+ list_size = weechat_list_size (list_buffers);
+ if (list_size < 1)
+ return;
+
+ pointers = weechat_hashtable_new (32,
+ WEECHAT_HASHTABLE_STRING,
+ WEECHAT_HASHTABLE_POINTER,
+ NULL,
+ NULL);
+ if (!pointers)
+ return;
+
+ for (i = 0; i < list_size; i++)
+ {
+ ptr_buffer_name = weechat_list_string (
+ weechat_list_get (list_buffers, i));
+ ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
+ if (!ptr_buffer)
+ continue;
+ irc_buffer_get_server_and_channel (ptr_buffer,
+ &ptr_server, &ptr_channel);
+ if (!ptr_server)
+ continue;
+ weechat_hashtable_set (pointers, "buffer", ptr_buffer);
+ weechat_hashtable_set (pointers, "irc_server", ptr_server);
+ if (ptr_channel)
+ weechat_hashtable_set (pointers, "irc_channel", ptr_channel);
+ else
+ weechat_hashtable_remove (pointers, "irc_channel");
+ cmd_vars_replaced = irc_message_replace_vars (
+ ptr_server,
+ (ptr_channel) ? ptr_channel->name : NULL,
+ command);
+ cmd_eval = weechat_string_eval_expression (
+ (cmd_vars_replaced) ? cmd_vars_replaced : command,
+ pointers,
+ NULL,
+ NULL);
+ weechat_command (
+ (ptr_channel) ? ptr_channel->buffer : ptr_server->buffer,
+ (cmd_eval) ? cmd_eval : ((cmd_vars_replaced) ? cmd_vars_replaced : command));
+ if (cmd_vars_replaced)
+ free (cmd_vars_replaced);
+ if (cmd_eval)
+ free (cmd_eval);
+ }
+
+ weechat_hashtable_free (pointers);
+}
+
+/*
* Executes a command on all channels (or queries).
*
* If server is NULL, executes command on all channels of all connected servers.
@@ -398,10 +464,8 @@ irc_command_exec_all_channels (struct t_irc_server *server,
struct t_irc_server *ptr_server, *next_server;
struct t_irc_channel *ptr_channel, *next_channel;
struct t_weelist *list_buffers;
- struct t_gui_buffer *ptr_buffer;
- char **channels, *str_command, *cmd_vars_replaced;
- const char *ptr_buffer_name;
- int num_channels, length, picked, i, list_size;
+ char **channels, *str_command;
+ int num_channels, length, picked, i;
if (!command || !command[0])
return;
@@ -477,29 +541,8 @@ irc_command_exec_all_channels (struct t_irc_server *server,
ptr_server = next_server;
}
- /* execute the command on all buffers */
- list_size = weechat_list_size (list_buffers);
- for (i = 0; i < list_size; i++)
- {
- ptr_buffer_name = weechat_list_string (
- weechat_list_get (list_buffers, i));
- ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
- if (ptr_buffer)
- {
- irc_buffer_get_server_and_channel (ptr_buffer,
- &ptr_server, &ptr_channel);
- if (ptr_server && ptr_channel)
- {
- cmd_vars_replaced = irc_message_replace_vars (
- ptr_server, ptr_channel->name, str_command);
- weechat_command (ptr_channel->buffer,
- (cmd_vars_replaced) ?
- cmd_vars_replaced : str_command);
- if (cmd_vars_replaced)
- free (cmd_vars_replaced);
- }
- }
- }
+ /* execute the command on channel/pv buffers */
+ irc_command_exec_buffers (list_buffers, str_command);
weechat_list_free (list_buffers);
free (str_command);
@@ -655,12 +698,9 @@ void
irc_command_exec_all_servers (int inclusive, const char *str_servers, const char *command)
{
struct t_irc_server *ptr_server, *next_server;
- struct t_irc_channel *ptr_channel;
struct t_weelist *list_buffers;
- struct t_gui_buffer *ptr_buffer;
- char **servers, *str_command, *cmd_vars_replaced;
- const char *ptr_buffer_name;
- int num_servers, length, picked, i, list_size;
+ char **servers, *str_command;
+ int num_servers, length, picked, i;
if (!command || !command[0])
return;
@@ -722,30 +762,8 @@ irc_command_exec_all_servers (int inclusive, const char *str_servers, const char
ptr_server = next_server;
}
- /* execute the command on all buffers */
- list_size = weechat_list_size (list_buffers);
- for (i = 0; i < list_size; i++)
- {
- ptr_buffer_name = weechat_list_string (
- weechat_list_get (list_buffers, i));
- ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
- if (ptr_buffer)
- {
- irc_buffer_get_server_and_channel (ptr_buffer,
- &ptr_server, &ptr_channel);
- if (ptr_server && !ptr_channel)
- {
- cmd_vars_replaced = irc_message_replace_vars (ptr_server,
- NULL,
- str_command);
- weechat_command (ptr_server->buffer,
- (cmd_vars_replaced) ?
- cmd_vars_replaced : str_command);
- if (cmd_vars_replaced)
- free (cmd_vars_replaced);
- }
- }
- }
+ /* execute the command on server buffers */
+ irc_command_exec_buffers (list_buffers, str_command);
weechat_list_free (list_buffers);
free (str_command);
@@ -6378,16 +6396,20 @@ irc_command_init ()
weechat_hook_command (
"allchan",
N_("execute a command on all channels of all connected servers"),
- N_("[-current] [-exclude=<channel>[,<channel>...]] <command> "
- "[<arguments>]"
- " || [-current] -include=<channel>[,<channel>...] <command> "
- "[<arguments>]"),
+ N_("[-current] [-exclude=<channel>[,<channel>...]] <command>"
+ " || [-current] -include=<channel>[,<channel>...] <command>"),
N_(" -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
- "arguments: arguments for command (special variables $nick, $channel "
- "and $server are replaced by their value)\n"
+ "\n"
+ "Command and arguments are evaluated (see /help eval), the following "
+ "variables are replaced:\n"
+ " $server server name\n"
+ " $channel channel name\n"
+ " $nick nick on server\n"
+ " ${irc_server.xxx} variable xxx in server\n"
+ " ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all channels:\n"
@@ -6403,17 +6425,21 @@ irc_command_init ()
weechat_hook_command (
"allpv",
N_("execute a command on all private buffers of all connected servers"),
- N_("[-current] [-exclude=<nick>[,<nick>...]] <command> "
- "[<arguments>]"
- " || [-current] -include=<nick>[,<nick>...] <command> "
- "[<arguments>]"),
+ N_("[-current] [-exclude=<nick>[,<nick>...]] <command>"
+ " || [-current] -include=<nick>[,<nick>...] <command>"),
N_(" -current: execute command for private buffers of current server "
"only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
- "arguments: arguments for command (special variables $nick, $channel "
- "and $server are replaced by their value)\n"
+ "\n"
+ "Command and arguments are evaluated (see /help eval), the following "
+ "variables are replaced:\n"
+ " $server server name\n"
+ " $channel channel name\n"
+ " $nick nick on server\n"
+ " ${irc_server.xxx} variable xxx in server\n"
+ " ${irc_channel.xxx} variable xxx in channel\n"
"\n"
"Examples:\n"
" execute '/me is testing' on all private buffers:\n"
@@ -6431,15 +6457,18 @@ irc_command_init ()
weechat_hook_command (
"allserv",
N_("execute a command on all connected servers"),
- N_("[-exclude=<server>[,<server>...]] "
- "<command> [<arguments>]"
+ N_("[-exclude=<server>[,<server>...]] <command>"
" || -include=<server>[,<server>...] "
- "<command> [<arguments>]"),
+ "<command>"),
N_(" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n"
- "arguments: arguments for command (special variables $nick, $channel "
- "and $server are replaced by their value)\n"
+ "\n"
+ "Command and arguments are evaluated (see /help eval), the following "
+ "variables are replaced:\n"
+ " $server server name\n"
+ " $nick nick on server\n"
+ " ${irc_server.xxx} variable xxx in server\n"
"\n"
"Examples:\n"
" change nick on all servers:\n"