From 5c0881cd352264bf6cad9ef20f651ae63fd1b4fe Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 8 Mar 2020 18:04:12 -0700 Subject: [PATCH] doc/Admin.md: improvements --- doc/Admin.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/Admin.md b/doc/Admin.md index aec7c75a..1e72eb9d 100644 --- a/doc/Admin.md +++ b/doc/Admin.md @@ -548,7 +548,7 @@ Name | Description ### eventqueue Manages the PBot event queue. Can be used to add commands that run at a future time. -Usage: `eventqueue list [filter regex] | add | remove ` +Usage: `eventqueue list [filter regex] | add | remove ` For example, to schedule a command to run 1 hour from now: @@ -556,15 +556,16 @@ For example, to schedule a command to run 1 hour from now: Command added to event queue. eventqueue list - Queued events: 1) in 1h: output #channel /say Ta-da! + Queued events: 1) in 1h: command #channel echo Ta-da! ... 1 hour later ... Ta-da! -To remove all "output" events: +The `remove` command's `` argument can include wildcards of the form `.*` or `.*?`. For example, +to remove all `command` events, you can simply do: - eventqueue remove output.* + eventqueue remove command .* Removed 1 event. ## Process management commands