From a97bfe33656e7337ef3f8cb0756edfa9d5bc5a1a Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 11 Jan 2020 18:29:51 -0800 Subject: [PATCH] doc/Admin.md: document `op`, `deop`, `voice`, `devoice`, and `invite` --- doc/Admin.md | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/doc/Admin.md b/doc/Admin.md index 9d624eaf..3bd7f9eb 100644 --- a/doc/Admin.md +++ b/doc/Admin.md @@ -180,14 +180,39 @@ Usages: - `blacklist add [channel]` - `blacklist remove [channel]` +#### op +#### deop +#### voice +#### devoice +The `op`, `deop`, `voice` and `devoice` all perform their respective named action. + +The `targets` parameter can be a list of multiple nicks, optionally containing +wildcards. If `targets` is omitted, the action will be performed on the caller. + +Usages: + +In channel: + +* `op [targets]` +* `deop [targets]` +* `voice [targets]` +* `devoice [targets]` + +From private message: + +* `op [targets]` +* `deop [targets]` +* `voice [targets]` +* `devoice [targets]` + #### mode Sets or unsets channel or user modes. -Usage: `mode ` +Usage: `mode [channel] [targets]` -PBot extends the IRC `MODE` command in useful ways. For instance, the `` -parameter can contain wildcards. To op everybody whose nick ends with `|dev`, for -instance, you can do `!mode +o *|dev`. +PBot extends the IRC `MODE` command in useful ways. For instance, the `targets` +parameter may contain wildcards. To op everybody whose nick ends with `|dev` you +can do `!mode +o *|dev` in a channel. #### ban/mute Bans or mutes a user. If the argument is a nick instead of a hostmask, it will determine an appropriate banmask for that nick. @@ -207,6 +232,11 @@ Usages: - `unban [channel]` - `unmute [channel]` +#### invite +Invites a user to a channel. + +Usage: `invite [channel] ` + #### kick Removes a user from the channel. `` can be a comma-separated list of multiple users, optionally containing wildcards. If `[reason]` is omitted, a random insult will be used.