diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/de/includes/autogen_user_commands.de.adoc | 76 | ||||
-rw-r--r-- | doc/en/includes/autogen_user_commands.en.adoc | 32 | ||||
-rw-r--r-- | doc/fr/includes/autogen_user_commands.fr.adoc | 32 | ||||
-rw-r--r-- | doc/it/includes/autogen_user_commands.it.adoc | 32 | ||||
-rw-r--r-- | doc/ja/includes/autogen_user_commands.ja.adoc | 76 | ||||
-rw-r--r-- | doc/pl/includes/autogen_user_commands.pl.adoc | 80 |
6 files changed, 164 insertions, 164 deletions
diff --git a/doc/de/includes/autogen_user_commands.de.adoc b/doc/de/includes/autogen_user_commands.de.adoc index d26349300..a8337dd01 100644 --- a/doc/de/includes/autogen_user_commands.de.adoc +++ b/doc/de/includes/autogen_user_commands.de.adoc @@ -23,7 +23,7 @@ target: Servername -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -34,13 +34,13 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all channels: - /allchan me is testing + /allchan /me is testing say 'hello' everywhere but not on #weechat: - /allchan -exclude=#weechat msg * hello + /allchan -exclude=#weechat hello say 'hello' everywhere but not on #weechat and channels beginning with #linux: - /allchan -exclude=#weechat,#linux* msg * hello + /allchan -exclude=#weechat,#linux* hello say 'hello' on all channels beginning with #linux: - /allchan -include=#linux* msg * hello + /allchan -include=#linux* hello ---- [[command_irc_allpv]] @@ -53,7 +53,7 @@ Examples: -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -64,15 +64,15 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all private buffers: - /allpv me is testing + /allpv /me is testing say 'hello' everywhere but not for nick foo: - /allpv -exclude=foo msg * hello + /allpv -exclude=foo hello say 'hello' everywhere but not for nick foo and nicks beginning with bar: - /allpv -exclude=foo,bar* msg * hello + /allpv -exclude=foo,bar* hello say 'hello' for all nicks beginning with bar: - /allpv -include=bar* msg * hello + /allpv -include=bar* hello close all private buffers: - /allpv close + /allpv /close ---- [[command_irc_allserv]] @@ -84,7 +84,7 @@ Examples: -exclude: exclude some servers (wildcard "*" is allowed) -include: include only some servers (wildcard "*" is allowed) - command: command to execute + command: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -93,11 +93,11 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: change nick on all servers: - /allserv nick newnick + /allserv /nick newnick set away on all servers: - /allserv away I'm away + /allserv /away I'm away do a whois on my nick on all servers: - /allserv whois $nick + /allserv /whois $nick ---- [[command_irc_ban]] @@ -1004,31 +1004,31 @@ target: Antwort soll auf diese Suchmaske zutreffen addcompletion <completion> <alias> [<command>[;<command>...]] del <alias> [<alias>...] - list: listet Alternativbefehle auf (ohne Angabe von Argumenten wird diese Liste dargestellt) - add: fügt einen Alternativbefehl hinzu -addcompletion: fügt einen Alternativbefehl, mit einer benutzerdefinierten Vervollständigung, hinzu - del: entfernt einen Alternativbefehl - completion: Vervollständigung für Alternativbefehl: standardmäßig wird die Vervollständigung auf den Zielbefehl angewendet - Hinweis: Mit der Variablen "%%command" kann eine Vervollständigung eines vorhandenen Befehls durchgeführt werden - alias: Name des Alternativbefehls - command: Name des zuzuordnenden Befehls, inklusive Argumenten (mehrere Befehle können durch Semikolon getrennt werden) - -Anmerkung: Im Befehl können Variablen genutzt werden, die dann durch den entsprechenden Wert ersetzt werden: - $n: Argument 'n' (zwischen 1 und 9) - $-m: Argumente von 1 bis 'm' - $n-: Argumente von 'n' bis zum letzten Argument - $n-m: Argumente von 'n' bis 'm' - $*: alle Argumente - $~: letztes Argument - $var: "var" ist eine lokale Variable für den jeweiligen Buffer (siehe /buffer localvar) - Beispiel: $nick, $channel, $server, $plugin, $name + list: list aliases (without argument, this list is displayed) + add: add an alias +addcompletion: add an alias with a custom completion + del: delete an alias + completion: completion for alias: by default completion is done with target command + note: you can use %%command to use completion of an existing command + alias: name of alias + command: command name with arguments (many commands can be separated by semicolons) + +Note: in command, special variables are replaced: + $n: argument 'n' (between 1 and 9) + $-m: arguments from 1 to 'm' + $n-: arguments from 'n' to last + $n-m: arguments from 'n' to 'm' + $*: all arguments + $~: last argument + $var: where "var" is a local variable of buffer (see /buffer localvar) + examples: $nick, $channel, $server, $plugin, $name -Beispiele: - Alternativbefehl "/split" wird anlegt um ein Fenster horizontal zu teilen: +Examples: + alias /split to split window horizontally: /alias add split /window splith - Alternativbefehl "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben: - /alias add hallo /allchan -exclude=#weechat msg * hallo - Alternativbefehl "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen: + alias /hello to say "hello" on all channels but not on #weechat: + /alias add hello /allchan -exclude=#weechat hello + alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: /alias addcompletion %%sajoin forcejoin /quote forcejoin ---- // end::alias_commands[] diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc index d0b24a4fa..b22beceef 100644 --- a/doc/en/includes/autogen_user_commands.en.adoc +++ b/doc/en/includes/autogen_user_commands.en.adoc @@ -23,7 +23,7 @@ target: server name -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -34,13 +34,13 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all channels: - /allchan me is testing + /allchan /me is testing say 'hello' everywhere but not on #weechat: - /allchan -exclude=#weechat msg * hello + /allchan -exclude=#weechat hello say 'hello' everywhere but not on #weechat and channels beginning with #linux: - /allchan -exclude=#weechat,#linux* msg * hello + /allchan -exclude=#weechat,#linux* hello say 'hello' on all channels beginning with #linux: - /allchan -include=#linux* msg * hello + /allchan -include=#linux* hello ---- [[command_irc_allpv]] @@ -53,7 +53,7 @@ Examples: -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -64,15 +64,15 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all private buffers: - /allpv me is testing + /allpv /me is testing say 'hello' everywhere but not for nick foo: - /allpv -exclude=foo msg * hello + /allpv -exclude=foo hello say 'hello' everywhere but not for nick foo and nicks beginning with bar: - /allpv -exclude=foo,bar* msg * hello + /allpv -exclude=foo,bar* hello say 'hello' for all nicks beginning with bar: - /allpv -include=bar* msg * hello + /allpv -include=bar* hello close all private buffers: - /allpv close + /allpv /close ---- [[command_irc_allserv]] @@ -84,7 +84,7 @@ Examples: -exclude: exclude some servers (wildcard "*" is allowed) -include: include only some servers (wildcard "*" is allowed) - command: command to execute + command: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -93,11 +93,11 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: change nick on all servers: - /allserv nick newnick + /allserv /nick newnick set away on all servers: - /allserv away I'm away + /allserv /away I'm away do a whois on my nick on all servers: - /allserv whois $nick + /allserv /whois $nick ---- [[command_irc_ban]] @@ -1027,7 +1027,7 @@ Examples: alias /split to split window horizontally: /alias add split /window splith alias /hello to say "hello" on all channels but not on #weechat: - /alias add hello /allchan -exclude=#weechat msg * hello + /alias add hello /allchan -exclude=#weechat hello alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: /alias addcompletion %%sajoin forcejoin /quote forcejoin ---- diff --git a/doc/fr/includes/autogen_user_commands.fr.adoc b/doc/fr/includes/autogen_user_commands.fr.adoc index 571288f39..079acd1c3 100644 --- a/doc/fr/includes/autogen_user_commands.fr.adoc +++ b/doc/fr/includes/autogen_user_commands.fr.adoc @@ -23,7 +23,7 @@ cible : nom du serveur -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 + commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/') La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées : $server nom du serveur @@ -34,13 +34,13 @@ La commande et les paramètres sont évalués (voir /help eval), les variables s Exemples : exécuter '/me teste' sur tous les canaux : - /allchan me teste + /allchan /me teste dire 'bonjour' partout sauf sur #weechat : - /allchan -exclude=#weechat msg * bonjour + /allchan -exclude=#weechat bonjour dire 'bonjour' partout sauf sur #weechat et les canaux commençant par #linux : - /allchan -exclude=#weechat,#linux* msg * bonjour + /allchan -exclude=#weechat,#linux* bonjour dire 'bonjour' sur tous les canaux commençant par #linux : - /allchan -include=#linux* msg * bonjour + /allchan -include=#linux* bonjour ---- [[command_irc_allpv]] @@ -53,7 +53,7 @@ Exemples : -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 + commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/') La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées : $server nom du serveur @@ -64,15 +64,15 @@ La commande et les paramètres sont évalués (voir /help eval), les variables s Exemples : exécuter '/me teste' sur tous les tampons privés : - /allpv me teste + /allpv /me teste dire 'bonjour' partout sauf sur pour le pseudo foo : - /allpv -exclude=foo msg * bonjour + /allpv -exclude=foo bonjour dire 'bonjour' partout sauf pour le pseudo foo et les pseudos commençant par bar : - /allpv -exclude=foo,bar* msg * bonjour + /allpv -exclude=foo,bar* bonjour dire 'bonjour' pour tous les pseudos commençant par bar : - /allpv -include=bar* msg * bonjour + /allpv -include=bar* bonjour fermer tous les tampons privés : - /allpv close + /allpv /close ---- [[command_irc_allserv]] @@ -84,7 +84,7 @@ Exemples : -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 + commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/') La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées : $server nom du serveur @@ -93,11 +93,11 @@ La commande et les paramètres sont évalués (voir /help eval), les variables s Exemples : changer de pseudo sur tous les serveurs : - /allserv nick newnick + /allserv /nick newnick positionner l'absence sur tous les serveurs : - /allserv away Je suis absent + /allserv /away Je suis absent faire un whois sur mon pseudo sur tous les serveurs : - /allserv whois $nick + /allserv /whois $nick ---- [[command_irc_ban]] @@ -1027,7 +1027,7 @@ Exemples : alias /split pour diviser la fenêtre horizontalement : /alias add split /window splith alias /hello pour dire "hello" sur tous les canaux mais pas sur #weechat : - /alias add hello /allchan -exclude=#weechat msg * hello + /alias add hello /allchan -exclude=#weechat hello alias /forcejoin pour envoyer la commande IRC "forcejoin" avec la complétion de /sajoin : /alias addcompletion %%sajoin forcejoin /quote forcejoin ---- diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc index 731105b77..aef566d8a 100644 --- a/doc/it/includes/autogen_user_commands.it.adoc +++ b/doc/it/includes/autogen_user_commands.it.adoc @@ -23,7 +23,7 @@ destinazione: nome 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 + command: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -34,13 +34,13 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all channels: - /allchan me is testing + /allchan /me is testing say 'hello' everywhere but not on #weechat: - /allchan -exclude=#weechat msg * hello + /allchan -exclude=#weechat hello say 'hello' everywhere but not on #weechat and channels beginning with #linux: - /allchan -exclude=#weechat,#linux* msg * hello + /allchan -exclude=#weechat,#linux* hello say 'hello' on all channels beginning with #linux: - /allchan -include=#linux* msg * hello + /allchan -include=#linux* hello ---- [[command_irc_allpv]] @@ -53,7 +53,7 @@ Examples: -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -64,15 +64,15 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all private buffers: - /allpv me is testing + /allpv /me is testing say 'hello' everywhere but not for nick foo: - /allpv -exclude=foo msg * hello + /allpv -exclude=foo hello say 'hello' everywhere but not for nick foo and nicks beginning with bar: - /allpv -exclude=foo,bar* msg * hello + /allpv -exclude=foo,bar* hello say 'hello' for all nicks beginning with bar: - /allpv -include=bar* msg * hello + /allpv -include=bar* hello close all private buffers: - /allpv close + /allpv /close ---- [[command_irc_allserv]] @@ -84,7 +84,7 @@ Examples: -exclude: exclude some servers (wildcard "*" is allowed) -include: include only some servers (wildcard "*" is allowed) - command: command to execute + command: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -93,11 +93,11 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: change nick on all servers: - /allserv nick newnick + /allserv /nick newnick set away on all servers: - /allserv away I'm away + /allserv /away I'm away do a whois on my nick on all servers: - /allserv whois $nick + /allserv /whois $nick ---- [[command_irc_ban]] @@ -1027,7 +1027,7 @@ Examples: alias /split to split window horizontally: /alias add split /window splith alias /hello to say "hello" on all channels but not on #weechat: - /alias add hello /allchan -exclude=#weechat msg * hello + /alias add hello /allchan -exclude=#weechat hello alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: /alias addcompletion %%sajoin forcejoin /quote forcejoin ---- diff --git a/doc/ja/includes/autogen_user_commands.ja.adoc b/doc/ja/includes/autogen_user_commands.ja.adoc index 1cdf1a8d4..5aeb2fd2e 100644 --- a/doc/ja/includes/autogen_user_commands.ja.adoc +++ b/doc/ja/includes/autogen_user_commands.ja.adoc @@ -23,7 +23,7 @@ target: サーバ名 -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -34,13 +34,13 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all channels: - /allchan me is testing + /allchan /me is testing say 'hello' everywhere but not on #weechat: - /allchan -exclude=#weechat msg * hello + /allchan -exclude=#weechat hello say 'hello' everywhere but not on #weechat and channels beginning with #linux: - /allchan -exclude=#weechat,#linux* msg * hello + /allchan -exclude=#weechat,#linux* hello say 'hello' on all channels beginning with #linux: - /allchan -include=#linux* msg * hello + /allchan -include=#linux* hello ---- [[command_irc_allpv]] @@ -53,7 +53,7 @@ Examples: -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -64,15 +64,15 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all private buffers: - /allpv me is testing + /allpv /me is testing say 'hello' everywhere but not for nick foo: - /allpv -exclude=foo msg * hello + /allpv -exclude=foo hello say 'hello' everywhere but not for nick foo and nicks beginning with bar: - /allpv -exclude=foo,bar* msg * hello + /allpv -exclude=foo,bar* hello say 'hello' for all nicks beginning with bar: - /allpv -include=bar* msg * hello + /allpv -include=bar* hello close all private buffers: - /allpv close + /allpv /close ---- [[command_irc_allserv]] @@ -84,7 +84,7 @@ Examples: -exclude: exclude some servers (wildcard "*" is allowed) -include: include only some servers (wildcard "*" is allowed) - command: command to execute + command: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -93,11 +93,11 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: change nick on all servers: - /allserv nick newnick + /allserv /nick newnick set away on all servers: - /allserv away I'm away + /allserv /away I'm away do a whois on my nick on all servers: - /allserv whois $nick + /allserv /whois $nick ---- [[command_irc_ban]] @@ -1004,31 +1004,31 @@ target: マスクに一致するものだけを返す addcompletion <completion> <alias> [<command>[;<command>...]] del <alias> [<alias>...] - list: 別名をリストアップ (引数を与えなかった場合、このリストが表示されます) - add: 別名を追加 -addcompletion: カスタム補完を指定して別名を追加 - del: 別名を削除 - completion: 別名の補完: デフォルトでは対象のコマンドに対する補完が行われます - 注意: %%command で既存のコマンドに対する補完を利用可能です - alias: 別名の名前 - command: 引数を含めたコマンド名 (セミコロンで分割すれば複数のコマンドを指定できます) - -注意: command の中に含まれる特殊変数は置換されます: - $n: 'n' 番目の引数 (1 から 9) - $-m: 1 から 'm' 番目の引数 - $n-: 'n' 番目から最後の引数 - $n-m: 'n' から 'm' 番目の引数 - $*: 全ての引数 - $~: 最後の引数 - $var: ここで "var" とはバッファの局所変数 (/buffer localvar を参照してください) - 例: $nick、$channel、$server、$plugin、$name + list: list aliases (without argument, this list is displayed) + add: add an alias +addcompletion: add an alias with a custom completion + del: delete an alias + completion: completion for alias: by default completion is done with target command + note: you can use %%command to use completion of an existing command + alias: name of alias + command: command name with arguments (many commands can be separated by semicolons) + +Note: in command, special variables are replaced: + $n: argument 'n' (between 1 and 9) + $-m: arguments from 1 to 'm' + $n-: arguments from 'n' to last + $n-m: arguments from 'n' to 'm' + $*: all arguments + $~: last argument + $var: where "var" is a local variable of buffer (see /buffer localvar) + examples: $nick, $channel, $server, $plugin, $name -例: - /split をウィンドウを水平方向に分割する別名と定義: +Examples: + alias /split to split window horizontally: /alias add split /window splith - /hello を #weechat を除く全てのチャンネルで "hello" と発言する別名と定義: - /alias add hello /allchan -exclude=#weechat msg * hello - /forcejoin を /sajoin の補完候補を使い IRC コマンド "forcejoin" を送信する別名と定義: + alias /hello to say "hello" on all channels but not on #weechat: + /alias add hello /allchan -exclude=#weechat hello + alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: /alias addcompletion %%sajoin forcejoin /quote forcejoin ---- // end::alias_commands[] diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc index 46866828e..5a4d7112a 100644 --- a/doc/pl/includes/autogen_user_commands.pl.adoc +++ b/doc/pl/includes/autogen_user_commands.pl.adoc @@ -23,7 +23,7 @@ cel: nazwa serwera -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -34,13 +34,13 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all channels: - /allchan me is testing + /allchan /me is testing say 'hello' everywhere but not on #weechat: - /allchan -exclude=#weechat msg * hello + /allchan -exclude=#weechat hello say 'hello' everywhere but not on #weechat and channels beginning with #linux: - /allchan -exclude=#weechat,#linux* msg * hello + /allchan -exclude=#weechat,#linux* hello say 'hello' on all channels beginning with #linux: - /allchan -include=#linux* msg * hello + /allchan -include=#linux* hello ---- [[command_irc_allpv]] @@ -53,7 +53,7 @@ Examples: -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: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -64,15 +64,15 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: execute '/me is testing' on all private buffers: - /allpv me is testing + /allpv /me is testing say 'hello' everywhere but not for nick foo: - /allpv -exclude=foo msg * hello + /allpv -exclude=foo hello say 'hello' everywhere but not for nick foo and nicks beginning with bar: - /allpv -exclude=foo,bar* msg * hello + /allpv -exclude=foo,bar* hello say 'hello' for all nicks beginning with bar: - /allpv -include=bar* msg * hello + /allpv -include=bar* hello close all private buffers: - /allpv close + /allpv /close ---- [[command_irc_allserv]] @@ -84,7 +84,7 @@ Examples: -exclude: exclude some servers (wildcard "*" is allowed) -include: include only some servers (wildcard "*" is allowed) - command: command to execute + command: command to execute (or text to send to buffer if command does not start with '/') Command and arguments are evaluated (see /help eval), the following variables are replaced: $server server name @@ -93,11 +93,11 @@ Command and arguments are evaluated (see /help eval), the following variables ar Examples: change nick on all servers: - /allserv nick newnick + /allserv /nick newnick set away on all servers: - /allserv away I'm away + /allserv /away I'm away do a whois on my nick on all servers: - /allserv whois $nick + /allserv /whois $nick ---- [[command_irc_ban]] @@ -1003,32 +1003,32 @@ cel: odpowiedź powinna pasować do maski addcompletion <dopełnienie> <alias> [<komenda>[;<komenda>...]] del <alias> [<alias>...] - list: lista aliasów (ta lista wyświetlana jest jeśli nie zostanie podany argument) - add: dodaje alias -addcompletion: dodaje alias z niestandardowym dopełnieniem - del: usuwa alias - completion: dopełnienie dla aliasu: domyślnie dopełnienie wykonuje się z docelową komendą - uwaga: można użyć %%komenda w celu użycia dopełnień dla istniejących komend - alias: nazwa aliasu - komenda: nazwa komendy (wiele komend można oddzielić za pomocą średnika) - -Ważne: dla komend specjalne zmienne są zastępowane odpowiednimi wartościami: - $n: argument 'n' (pomiędzy 1 i 9) - $-m: argumenty od 1 do 'm' - $n-: argumenty od 'n' do ostatniego - $n-m: argumenty od 'n' od 'm' - $*: wszystkie argumenty - $~: ostatni argument - $var: gdzie "var" to zmienna lokalna buforu (zobacz /buffer localvar) - przykłady: $nick, $channel, $server, $plugin, $name + list: list aliases (without argument, this list is displayed) + add: add an alias +addcompletion: add an alias with a custom completion + del: delete an alias + completion: completion for alias: by default completion is done with target command + note: you can use %%command to use completion of an existing command + alias: name of alias + command: command name with arguments (many commands can be separated by semicolons) + +Note: in command, special variables are replaced: + $n: argument 'n' (between 1 and 9) + $-m: arguments from 1 to 'm' + $n-: arguments from 'n' to last + $n-m: arguments from 'n' to 'm' + $*: all arguments + $~: last argument + $var: where "var" is a local variable of buffer (see /buffer localvar) + examples: $nick, $channel, $server, $plugin, $name -Przykłady: - alias /split do poziomego podziału okna: - /alias split /window splith - alias /hello pisze "hello" na wszystkich kanałach poza #weechat: - /alias hello /allchan -exclude=#weechat msg * hello - alias /forcejoin wysyłający komende IRC "forcejoin" z dopełnieniem dla /sajoin: - /alias -completion %%sajoin forcejoin /quote forcejoin +Examples: + alias /split to split window horizontally: + /alias add split /window splith + alias /hello to say "hello" on all channels but not on #weechat: + /alias add hello /allchan -exclude=#weechat hello + alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: + /alias addcompletion %%sajoin forcejoin /quote forcejoin ---- // end::alias_commands[] |