2.2 KiB
Summary
set the user privilege levels of a channel member. (lower the value, the higher the privilege)
IO
[-ch_name (text) -user (text) -level (int)]/[text]
Description
set the privilege level of the channel member given in -user for the channel given in -ch_name to the level given in -level. a valid privilege level is an integer between 1-4 representing owner-level(1), admin-level(2), officer-level(3) and regular-level(4). the channel owner-level(1) is reserved for just 1 member in the channel and only that member can assign another member in the channel that privilege level. when the owner privilege is assigned to another member, the current owner will step down to a admin. this command is restricted based on your current level so you cannot assign a level higher that you own. below is a description of what each of these levels can do within the channel:
owner-level(1):
- delete or rename the channel.
- delete, create or rename sub-channels within the channel.
- invite new users to the channel or cancel invites.
- remove any member of the channel except your self.
- set sub-channels' level of access.
- add/remove read only flags to/from sub-channels.
- update the privilege level of any member in the channel.
- open/close sub-channels for casting.
admin-level(2):
- delete, create or rename sub-channels within the channel.
- invite new users to the channel or cancel invites.
- remove any member of channel except the owner and other admins.
- set sub-channels' level of access.
- add/remove read only flags to/from sub-channels.
- update the privilege level of members up to your own level but not above.
- open/close sub-channels for casting.
officer-level(3):
- invite new users to the channel or cancel invites.
- can only remove regular members of the channel.
- update the privilege level of members up to your own level but not above.
- open/close sub-channels for casting.
regular-level(4):
- open/close sub-channels for casting.
note: this command causes all sessions that are loggined in as this user to close all related sub-channels. it will be up to the client to re-open the sub-channels if the user still have access to them.