diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-07-20 22:39:28 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-07-20 22:39:28 +0200 |
commit | 84e30438d42c1726d506b6ca93feaf7c854ec303 (patch) | |
tree | f91e9405d889f59f9416367f305f003c8c8914c0 /doc/de/includes/autogen_user_commands.de.adoc | |
parent | ee3a4a1fc01815c64354d1c793fc5330a079b2d9 (diff) | |
download | weechat-84e30438d42c1726d506b6ca93feaf7c854ec303.zip |
irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
Diffstat (limited to 'doc/de/includes/autogen_user_commands.de.adoc')
-rw-r--r-- | doc/de/includes/autogen_user_commands.de.adoc | 76 |
1 files changed, 38 insertions, 38 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[] |