Open slingamn opened 5 years ago
Makes sense, I like these. As much as we can, let's keep our syntax similar to Anope/Atheme's OperServs for the commands that already exist in those
/msg OperServ list [param1] [param2] where
[param1] is: users - it will list all regular users registered staff - it will list all staff members channels - it will list all channels registered
[param2] is: first - in ordered sequence, from oldest to newest (date wise) last - in ordered sequence, from newest to oldest (date wise) ordered - in ordered sequence, alphabetically (starting with letter A -> Z) unordered - in ordered sequence, alphabetically (starting with letter Z -> A)
Example:
/msg OperServ list users first
Username | Registered at |
---|---|
1 dan | Sun, 29 Dec 2019 11:04:14 UTC |
2 slingman | Sun, 29 Dec 2019 11:04:14 UTC |
3 turtlex | Sat, 04 Jan 2020 08:44:32 UTC |
Example:
/msg OperServ list staff ordered
Username | Role | Flags |
---|---|---|
1 Anna | IRCop | +acjknoqtux |
2 slingman | Admin | +acjknoqtux |
Example:
/msg OperServ list channels unordered
Channel name | Registered at | Registered by | Successor |
---|---|---|---|
1 #Zone Gray | Tue, 24 Dec 2019 19:32:27 UTC | Benny | Nicole |
2 #Gecko | Fri, 03 Jan 2020 14:44:52 UTC | turtlex | NONE |
In case of thousands of nicknames (and maybe channels) should a filter be applied? like max=100?
Example: /msg OperServ list users ordered max=200(or first 200), so that the output is not hairy?
L.E. Some questions: 1 - What happends if in the config file, nicknames of channel names are defined to take a long string as name? It would be crazy to have channels with more than 50-70 chars, same for nicknames!
2 - How can nicknames/channels be ordered, A->Z / Z<-A in case of arabic/hebrew, etc. ?
This should be closed, since most if not all commands will be implemented directly in to ircd.
@jesopo suggests that global notices (#1153) could be given a friendlier interface as an OperServ command.
Draft spec from @bogdomania:
See also #328.