summaryrefslogtreecommitdiff
path: root/doc/en/autogen
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-05-19 19:04:49 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-05-19 19:04:49 +0200
commit7d37cc8f5006e91d8d42beda9d14204f8a2bfe31 (patch)
treef5c5f562f5e106871f1950d1efbfa1c991fc85c7 /doc/en/autogen
parent37a73d834815e6cb7f4e2644e3086f455f2da812 (diff)
downloadweechat-7d37cc8f5006e91d8d42beda9d14204f8a2bfe31.zip
Add new command /wait (schedule a command execution in future)
Diffstat (limited to 'doc/en/autogen')
-rw-r--r--doc/en/autogen/weechat_commands.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/en/autogen/weechat_commands.xml b/doc/en/autogen/weechat_commands.xml
index 1fbb6105d..230964d33 100644
--- a/doc/en/autogen/weechat_commands.xml
+++ b/doc/en/autogen/weechat_commands.xml
@@ -295,6 +295,26 @@ show WeeChat version and compilation date
-o: send version to current buffer as input
</programlisting>
+<command>/wait number[unit] command</command>
+<programlisting>
+schedule a command execution in future
+
+ number: amount of time to wait (integer number)
+ unit: optional, values are:
+ ms: milliseconds
+ s: seconds (default)
+ m: minutes
+ h: hours
+command: command to execute (or text to send to buffer if command does not start with '/')
+
+Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
+
+Examples:
+ join channel in 10 sec: /wait 10 join #test
+ set away in 15 min: /wait 15m away -all I'm away
+ say 'hello' in 2 min: /wait 2m hello
+</programlisting>
+
<command>/window [list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]</command>
<programlisting>
manage windows