1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +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
+25 -6
View File
@@ -6,20 +6,39 @@
target: server
........................................
• *`/ame`* `message`::
• *`/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
........................................
• *`/amsg`* `text`::
• *`/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
........................................
• *`/away`* `[-all] [message]`::
+25 -6
View File
@@ -6,20 +6,39 @@
cible: serveur
........................................
• *`/ame`* `message`::
• *`/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
........................................
• *`/amsg`* `texte`::
• *`/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
........................................
• *`/away`* `[-all] [message]`::
+25 -6
View File
@@ -6,20 +6,39 @@
destinazione: server
........................................
• *`/ame`* `messaggio`::
• *`/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
........................................
• *`/amsg`* `testo`::
• *`/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
........................................
• *`/away`* `[-all] [messaggio]`::