summaryrefslogtreecommitdiff
path: root/doc/it/includes/autogen_user_commands.it.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-07-20 22:39:28 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-07-20 22:39:28 +0200
commit84e30438d42c1726d506b6ca93feaf7c854ec303 (patch)
treef91e9405d889f59f9416367f305f003c8c8914c0 /doc/it/includes/autogen_user_commands.it.adoc
parentee3a4a1fc01815c64354d1c793fc5330a079b2d9 (diff)
downloadweechat-84e30438d42c1726d506b6ca93feaf7c854ec303.zip
irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
Diffstat (limited to 'doc/it/includes/autogen_user_commands.it.adoc')
-rw-r--r--doc/it/includes/autogen_user_commands.it.adoc32
1 files changed, 16 insertions, 16 deletions
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
----