AccessControlGUI.php

From Bebot Wiki 2
Jump to navigationJump to search
Access Control GUI

Description

This GUI allows changes to the minimum access levels for commands.


Features

 * Lists all commands for specific channels with current rights
 * Allows changes to those rights


Commands provided
^Command  ^ Keyword  ^Argument(s)   ^Description                          ^Tell      ^Guild     ^Priv      ^
|!commands|          |              |Shows a list of the channels with chat commands|Owner|N/A|N/A|
|!commands|          | <tell/pgmsg/gc> |Shows the chat commands for the selected channel with current access levels and allows changing the access levels|Owner|N/A|N/A|
|!commands| update | <tell/pgmsg/gc> <//command//> <//newlevel//> |Sets the minimal access level for //command// to //newlevel//|Owner|N/A|N/A|
Notes

//commands update// accepts the following shortcuts instead of full level names:

^Shortcut ^Access level ^
| AN | ANONYMOUS |
| G | GUEST |
| M | MEMBER |
| L | LEADER |
| A | ADMIN |
| SA | SUPERADMIN |
| O | OWNER |
| D | DISABLED |