Difference between revisions of "FLAGS"

From Rizon Wiki
Jump to navigation Jump to search
m (→‎List of possible flags: Use monospace font face for the flag codes, enhance readability.)
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
The FLAGS system is a way to control access to a channel. To enable the FLAGS mode, use the following command:
The FLAGS system is a way to control access to a channel. To enable the FLAGS mode, use the following command:


'''/msg chanserv set #channel accesstype flags'''
<code>/msg ChanServ SET <em>#channel</em> ACCESSTYPE FLAGS</code>


substituting the name of your channel for #channel.
substituting the name of your channel for <em>#channel</em>.


== The FLAGS command ==
==The FLAGS command==


The ChanServ FLAGS command allows you to control what users get what permissions. You can only use this command if ACCESSTYPE FLAGS is enabled.  
The ChanServ FLAGS command allows you to control very precisely what users get what permissions. You can only use this command if ACCESSTYPE FLAGS is enabled, as demonstrated above.


Syntax: '''/msg ChanServ FLAGS CHANNEL [{nick|*CLEAR} [flags]]'''
When called without any arguments, FLAGS will list the current list of users with flags and what flags they have:
 
<code>/msg ChanServ FLAGS <em>#channel</em></code>
 
 
===Access listing===
You can get the full list of all users with access and their flags with:
 
<code>/msg ChanServ FLAGS <em>#channel</em></code>
 
If you are just looking for one particular user's flags, you can just append the user's nick:
 
<code>/msg ChanServ FLAGS <em>#channel</em> <em>nick</em></code>
 
 
===Access manipulation===
To give someone auto-op and the ability to invite people using ChanServ, use the following command:
 
<code>/msg ChanServ FLAGS <em>#channel</em> <em>nick</em> +Oi</code>
 
To remove these flags, you would use the same command, but instead of <code>+Oi</code>, use <code>-Oi</code>.
 
Adding a user with all flags but +b (auto kickban):
 
<code>/msg ChanServ FLAGS <em>#channel</em> <em>nick</em> +*</code>
 
To remove all access flags from a user, use:
 
<code>/msg ChanServ FLAGS <em>#channel</em> <em>nick</em> -*</code>
 
Finally, to clear all the access flags of the channel, use the <code>*CLEAR</code> command, like this:
 
<code>/msg ChanServ FLAGS <em>#channel</em> *CLEAR</code>


== List of possible flags ==
== List of possible flags ==


{| border="1" cellpadding="5"
{|
|-
|-
|o||User is allowed to use the OP and DEOP commands
! Status
! Misc
|- valign="top"
|
{| class="wikitable"
|-
|-
|O||User gets auto op
!<big><kbd>v</kbd></big>
|Allows use of VOICE and DEVOICE
|-
|-
|h||User is allowed to use the HALFOP and DEHALFOP commands
!<big><kbd>V</kbd></big>
|Auto voice
|-
|-
|H||User gets auto halfop
!<big><kbd>h</kbd></big>
|Allows use of HALFOP and DEHALFOP
|-
|-
|v||User is allowed to use the VOICE and DEVOICE commands
!<big><kbd>H</kbd></big>
|Auto halfop
|-
|-
|V||User gets auto voice
!<big><kbd>o</kbd></big>
|Allows use of OP and DEOP
|-
|-
|a||User is allowed to use the PROTECT and DEPROTECT commands
!<big><kbd>O</kbd></big>
|Auto op
|-
|-
|A||User gets auto protected
!<big><kbd>a</kbd></big>
|Allows use of PROTECT and DEPROTECT
|-
|-
|s||User can use the SET command
!<big><kbd>A</kbd></big>
|Auto protect
|}
|
{| class="wikitable"
|-
|-
|i||User can use the INVITE command
!<big><kbd>t</kbd></big>
|Allows use of TOPIC
|-
|-
|i||User can use the GETKEY command
!<big><kbd>r</kbd></big>
|Allows use of KICK and BAN
|-
|-
|r||User can use the KICK command
!<big><kbd>u</kbd></big>
|Allows use of UNBAN
|-
|-
|r||User can use the BAN command
!<big><kbd>K</kbd></big>
|Allows use of AKICK
|-
|-
|R||User can use the CLEAR command
!<big><kbd>s</kbd></big>
|Allows use of SET
|-
|-
|f||User can change other users access
!<big><kbd>i</kbd></big>
|Allows use of INVITE and GETKEY
|-
|-
|t||User can use the TOPIC command
!<big><kbd>R</kbd></big>
|Allows use of CLEAR
|-
|-
|l||User can view the access list
!<big><kbd>f</kbd></big>
|Ability to change other users' access
|-
|-
|b||User can not join
!<big><kbd>l</kbd></big>
|Ability to view the access list
|-
|-
|B||User has access to the fantasy commands
!<big><kbd>B</kbd></big>
|Allows use of fantasy commands
|-
|-
|S||User has access to the SAY/ACT commands
!<big><kbd>S</kbd></big>
|Allows use of SAY and ACT
|-
|-
|G||Users greet is shown to the channel when they join
!<big><kbd>G</kbd></big>
|Shows user's greet in the channel when they join
|-
|-
|K||User has access to the AKICK command
!<big><kbd>b</kbd></big>
|Banned
|-
|-
|u||User has access to the UNBAN command
!<big><kbd>n</kbd></big>
|User will not be automatically kicked by BotServ
|-
!<big><kbd>I</kbd></big>
|User has full access to the INFO command
|-
!<big><kbd>k</kbd></big>
|User can modify the badwords list
|}
|}
|}
Additionally, you can use +* or -* to set or unset all flags

Latest revision as of 11:29, 27 October 2020

The FLAGS system is a way to control access to a channel. To enable the FLAGS mode, use the following command:

/msg ChanServ SET #channel ACCESSTYPE FLAGS

substituting the name of your channel for #channel.

The FLAGS command

The ChanServ FLAGS command allows you to control very precisely what users get what permissions. You can only use this command if ACCESSTYPE FLAGS is enabled, as demonstrated above.

When called without any arguments, FLAGS will list the current list of users with flags and what flags they have:

/msg ChanServ FLAGS #channel


Access listing

You can get the full list of all users with access and their flags with:

/msg ChanServ FLAGS #channel

If you are just looking for one particular user's flags, you can just append the user's nick:

/msg ChanServ FLAGS #channel nick


Access manipulation

To give someone auto-op and the ability to invite people using ChanServ, use the following command:

/msg ChanServ FLAGS #channel nick +Oi

To remove these flags, you would use the same command, but instead of +Oi, use -Oi.

Adding a user with all flags but +b (auto kickban):

/msg ChanServ FLAGS #channel nick +*

To remove all access flags from a user, use:

/msg ChanServ FLAGS #channel nick -*

Finally, to clear all the access flags of the channel, use the *CLEAR command, like this:

/msg ChanServ FLAGS #channel *CLEAR

List of possible flags

Status Misc
v Allows use of VOICE and DEVOICE
V Auto voice
h Allows use of HALFOP and DEHALFOP
H Auto halfop
o Allows use of OP and DEOP
O Auto op
a Allows use of PROTECT and DEPROTECT
A Auto protect
t Allows use of TOPIC
r Allows use of KICK and BAN
u Allows use of UNBAN
K Allows use of AKICK
s Allows use of SET
i Allows use of INVITE and GETKEY
R Allows use of CLEAR
f Ability to change other users' access
l Ability to view the access list
B Allows use of fantasy commands
S Allows use of SAY and ACT
G Shows user's greet in the channel when they join
b Banned
n User will not be automatically kicked by BotServ
I User has full access to the INFO command
k User can modify the badwords list