ChanServ: Difference between revisions

From HybridIRC Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
ChanServ is a service on the IRC network that helps manage and protect channels. It allows channel operators to register their channels, set access levels for users, and enforce channel settings like topic protection and bans. ChanServ ensures that the channel settings are maintained even when the channel operator is offline, providing a stable and secure environment for the community
ChanServ is a service on the IRC network that helps manage and protect channels. It allows channel operators to register their channels, set access levels for users, and enforce channel settings like topic protection and bans. ChanServ ensures that the channel settings are maintained even when the channel operator is offline, providing a stable and secure environment for the community.
== ChanServ Commands ==
== ChanServ Command Index ==
Here is a list of all ChanServ commands:
Here is a list of all ChanServ commands:
__NOTOC__
__NOTOC__
=== ChanServ Commands ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 11: Line 12:
| [[#KICK|KICK]] || [[#KICKBAN|KICKBAN]] || [[#OP|OP]] || [[#QUIET|QUIET]] || [[#REGISTER|REGISTER]]
| [[#KICK|KICK]] || [[#KICKBAN|KICKBAN]] || [[#OP|OP]] || [[#QUIET|QUIET]] || [[#REGISTER|REGISTER]]
|-
|-
| [[#TOPIC|TOPIC]] || [[#UNBAN|UNBAN]] || [[#UNQUIET|UNQUIET]] || [[#VOICE|VOICE]]
| [[#SET|SET]] || [[#TOPIC|TOPIC]] || [[#UNBAN|UNBAN]] || [[#UNQUIET|UNQUIET]] || [[#VOICE|VOICE]]
|-
|-
| [[#WHY|WHY]] || [[#ACCESS|ACCESS]] || [[#AOP|AOP]] || [[#BADWORDS|BADWORDS]] || [[#BANSEARCH|BANSEARCH]]
| [[#WHY|WHY]] || [[#ACCESS|ACCESS]] || [[#AOP|AOP]] || [[#BADWORDS|BADWORDS]] || [[#BANSEARCH|BANSEARCH]]
Line 17: Line 18:
| [[#CALC|CALC]] || [[#CLONE|CLONE]] || [[#COUNT|COUNT]] || [[#DF|DF]] || [[#EIGHTBALL|EIGHTBALL]]
| [[#CALC|CALC]] || [[#CLONE|CLONE]] || [[#COUNT|COUNT]] || [[#DF|DF]] || [[#EIGHTBALL|EIGHTBALL]]
|-
|-
| [[#DROP|DROP]] || [[#FLAGS|FLAGS]] || [[#FORCEXOP|FORCEXOP]] || [[#HELP|HELP]] || [[#LOTTERY|LOTTERY]]
| [[#HELP|HELP]] || [[#LIST|LIST]] || [[#LOTTERY|LOTTERY]] || [[#NAMEGEN|NAMEGEN]] || [[#NWOD|NWOD]]
|-
|-
| [[#MARK|MARK]] || [[#NAMEGEN|NAMEGEN]] || [[#NWOD|NWOD]] || [[#RECOVER|RECOVER]] || [[#ROLE|ROLE]]
| [[#RECOVER|RECOVER]] || [[#ROLE|ROLE]] || [[#ROLL|ROLL]] || [[#RPS|RPS]] || [[#SOP|SOP]]
|-
|-
| [[#ROLL|ROLL]] || [[#RPS|RPS]] || [[#SOP|SOP]] || [[#STATUS|STATUS]] || [[#SYNC|SYNC]]
| [[#STATUS|STATUS]] || [[#SYNC|SYNC]] || [[#TAXONOMY|TAXONOMY]] || [[#TEMPLATE|TEMPLATE]] || [[#TOPICAPPEND|TOPICAPPEND]]
|-
|-
| [[#TAXONOMY|TAXONOMY]] || [[#TEMPLATE|TEMPLATE]] || [[#TOPICAPPEND|TOPICAPPEND]] || [[#TOPICPREPEND|TOPICPREPEND]] || [[#TOPICSWAP|TOPICSWAP]]
| [[#TOPICPREPEND|TOPICPREPEND]] || [[#TOPICSWAP|TOPICSWAP]] || [[#VOP|VOP]] || [[#WOD|WOD]]
|-
| [[#VOP|VOP]] || [[#WOD|WOD]]
|}
|}
 
=== ChanServ Set Commands ===
== ChanServ Set Commands ==
Here is a list of all commands related to SET:
Here is a list of all commands related to SET:
{| class="wikitable"
{| class="wikitable"
|-
|-
| [[#ANTIFLOOD|ANTIFLOOD]] || [[#BLOCKBADWORDS|BLOCKBADWORDS]] || [[#BLOCKBADWORDSOPS|BLOCKBADWORDSOPS]] || [[#EMAIL|EMAIL]] || [[#ENTRYMSG|ENTRYMSG]]
| [[#SET ANTIFLOOD|ANTIFLOOD]] || [[#SET AUTOVOP|AUTOVOP]] || [[#SET BLOCKBADWORDS|BLOCKBADWORDS]] || [[#SET EMAIL|EMAIL]] || [[#SET ENTRYMSG|ENTRYMSG]]
|-
|-
| [[#FANTASY|FANTASY]] || [[#GAMESERV|GAMESERV]] || [[#GUARD|GUARD]] || [[#KEEPTOPIC|KEEPTOPIC]] || [[#LIMITFLAGS|LIMITFLAGS]]
| [[#SET FANTASY|FANTASY]] || [[#SET GAMESERV|GAMESERV]] || [[#SET GUARD|GUARD]] || [[#SET KEEPTOPIC|KEEPTOPIC]] || [[#SET LIMITFLAGS|LIMITFLAGS]]
|-
|-
| [[#MLOCK|MLOCK]] || [[#NOSYNC|NOSYNC]] || [[#PREFIX|PREFIX]] || [[#PRIVATE|PRIVATE]] || [[#PROPERTY|PROPERTY]]
| [[#SET MLOCK|MLOCK]] || [[#SET NOSYNC|NOSYNC]] || [[#SET PREFIX|PREFIX]] || [[#SET PRIVATE|PRIVATE]] || [[#SET PROPERTY|PROPERTY]]
|-
|-
| [[#PUBACL|PUBACL]] || [[#RESTRICTED|RESTRICTED]] || [[#SECURE|SECURE]] || [[#TOPICLOCK|TOPICLOCK]] || [[#URL|URL]]
| [[#SET PUBACL|PUBACL]] || [[#SET RESTRICTED|RESTRICTED]] || [[#SET SECURE|SECURE]] || [[#SET TOPICLOCK|TOPICLOCK]] || [[#SET URL|URL]]
|-
|-
| [[#VERBOSE|VERBOSE]]
| [[#SET VERBOSE|VERBOSE]]
|}
|}
=== ACCESS ===
=== ACCESS ===
The '''ACCESS''' command manages user roles and access within a channel. This allows channel operators and founders to assign, modify, or remove access levels and permissions for users in the channel.
The '''ACCESS''' command manages user roles and access within a channel. This allows channel operators and founders to assign, modify, or remove access levels and permissions for users in the channel.
'''Syntax:'''
'''Syntax:'''
<pre>ACCESS &lt;#channel&gt; ADD &lt;user&gt; &lt;role&gt;</pre>
<pre>ACCESS &lt;#channel&gt; ADD &lt;user&gt; &lt;role&gt;</pre>
Line 53: Line 48:
<pre>ACCESS &lt;#channel&gt; LIST</pre>
<pre>ACCESS &lt;#channel&gt; LIST</pre>
<pre>ACCESS &lt;#channel&gt; SET &lt;user&gt; &lt;role|flags&gt;</pre>
<pre>ACCESS &lt;#channel&gt; SET &lt;user&gt; &lt;role|flags&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ ACCESS #atheme ADD stitch helpers</pre>
<pre>/msg ChanServ ACCESS #atheme ADD stitch helpers</pre>
Line 60: Line 54:
<pre>/msg ChanServ ACCESS #atheme LIST</pre>
<pre>/msg ChanServ ACCESS #atheme LIST</pre>
<pre>/msg ChanServ ACCESS #atheme SET stitch channel-ops</pre>
<pre>/msg ChanServ ACCESS #atheme SET stitch channel-ops</pre>
=== AKICK ===
=== AKICK ===
The '''AKICK''' command allows you to manage channel ban lists. Users on the AKICK list will be automatically kicked and banned upon joining the channel.
The '''AKICK''' command allows you to manage channel ban lists. Users on the AKICK list will be automatically kicked and banned upon joining the channel.
'''Syntax:'''
'''Syntax:'''
<pre>AKICK &lt;#channel&gt; ADD &lt;nickname|hostmask&gt; [&lt;!P|!T &lt;minutes&gt;] [&lt;reason&gt;]</pre>
<pre>AKICK &lt;#channel&gt; ADD &lt;nickname|hostmask&gt; [&lt;!P|!T &lt;minutes&gt;] [&lt;reason&gt;]</pre>
<pre>AKICK &lt;#channel&gt; DEL &lt;nickname|hostmask&gt;</pre>
<pre>AKICK &lt;#channel&gt; DEL &lt;nickname|hostmask&gt;</pre>
<pre>AKICK &lt;#channel&gt; LIST</pre>
<pre>AKICK &lt;#channel&gt; LIST</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ AKICK #foo ADD bar you are annoying</pre>
<pre>/msg ChanServ AKICK #foo ADD bar you are annoying</pre>
<pre>/msg ChanServ AKICK #foo ADD *!*foo@bar.com !T 5d</pre>
<pre>/msg ChanServ AKICK #foo ADD *!*@bar.com !T 5d</pre>
<pre>/msg ChanServ AKICK #foo ADD *!*@bar.com !T 5d you are annoying</pre>
<pre>/msg ChanServ AKICK #foo ADD *!*@bar.com !T 5d you are annoying</pre>
<pre>/msg ChanServ AKICK #foo DEL bar</pre>
<pre>/msg ChanServ AKICK #foo DEL bar</pre>
<pre>/msg ChanServ AKICK #foo LIST</pre>
<pre>/msg ChanServ AKICK #foo LIST</pre>
=== BADWORDS ===
=== BADWORDS ===
The '''BADWORDS''' command maintains a list of glob strings that every word in a channel will be checked against (if '''BLOCKBADWORDS''' is set).
The '''BADWORDS''' command maintains a list of glob patterns (such as wildcards `*` and `?`) that messages in the channel will be checked against when the [[#SET BLOCKBADWORDS|SET BLOCKBADWORDS]] option is enabled.
 
When a match is found, ChanServ takes the specified action against the sending user. The available '''ACTION''' parameters are:
The '''ACTION''' parameter can be: KICK, WARN, BAN, KICKBAN, or (if your IRCd supports it) QUIET.
- '''KICK''' – Kicks the user from the channel.
 
- '''WARN''' – Sends a warning notice to the user.
- '''BAN''' – Sets a channel ban on the user.
- '''KICKBAN''' – Bans and kicks the user from the channel.
- '''QUIET''' – Mutes the user in the channel (if supported by the IRCd).
'''Syntax:'''
'''Syntax:'''
<pre>BADWORDS &lt;#channel&gt; LIST</pre>
<pre>BADWORDS &lt;#channel&gt; LIST</pre>
<pre>BADWORDS &lt;#channel&gt; ADD &lt;word&gt; &lt;action&gt;</pre>
<pre>BADWORDS &lt;#channel&gt; ADD &lt;word&gt; &lt;action&gt;</pre>
<pre>BADWORDS &lt;#channel&gt; DEL &lt;word&gt;</pre>
<pre>BADWORDS &lt;#channel&gt; DEL &lt;word&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ BADWORDS #atheme LIST</pre>
<pre>/msg ChanServ BADWORDS #atheme LIST</pre>
Line 91: Line 83:
<pre>/msg ChanServ BADWORDS #sailors ADD *dam?it* quiet</pre>
<pre>/msg ChanServ BADWORDS #sailors ADD *dam?it* quiet</pre>
<pre>/msg ChanServ BADWORDS #desensitized DEL f?ck</pre>
<pre>/msg ChanServ BADWORDS #desensitized DEL f?ck</pre>
=== BAN ===
=== BAN ===
The '''BAN''' command bans a user or hostmask from joining the channel.
The '''BAN''' command bans a user or hostmask from joining the channel.
'''Syntax:'''
'''Syntax:'''
<pre>BAN &lt;#channel&gt; &lt;nickname|hostmask&gt;</pre>
<pre>BAN &lt;#channel&gt; &lt;nickname|hostmask&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ BAN #chat carnell</pre>
<pre>/msg ChanServ BAN #chat carnell</pre>
<pre>/msg ChanServ BAN #chat *!*@*.ipt.aol.com</pre>
<pre>/msg ChanServ BAN #chat *!*@*.ipt.aol.com</pre>
=== CLEAR ===
=== CLEAR ===
The '''CLEAR BANS''' command removes all bans in a specific channel. It can also remove invite exceptions depending on your server's support.
The '''CLEAR BANS''' command removes all bans in a specific channel. It can also remove invite exceptions depending on your server's support.
'''Syntax:'''
'''Syntax:'''
<pre>CLEAR &lt;#channel&gt; BANS [&lt;types&gt;]</pre>
<pre>CLEAR &lt;#channel&gt; BANS [&lt;types&gt;]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ CLEAR #support BANS</pre>
<pre>/msg ChanServ CLEAR #support BANS</pre>
<pre>/msg ChanServ CLEAR #support BANS eI</pre>
<pre>/msg ChanServ CLEAR #support BANS eI</pre>
=== CLEAR ===
The '''CLEAR FLAGS''' command will remove all flags from users or groups with channel access in the specified channel, except for channel founders.  
The '''CLEAR FLAGS''' command will remove all flags from users or groups with channel access in the specified channel, except for channel founders.  
This command can only be used by channel founders.
This command can only be used by channel founders.
'''Syntax:'''
'''Syntax:'''
<pre>CLEAR &lt;#channel&gt; FLAGS</pre>
<pre>CLEAR &lt;#channel&gt; FLAGS</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ CLEAR #atheme FLAGS</pre>
<pre>/msg ChanServ CLEAR #atheme FLAGS</pre>
=== CLEAR ===
The '''CLEAR USERS''' command will kick all users out of the channel, except for you. The channel will be cycled (recreated) if you are not in it.
The '''CLEAR USERS''' command will kick all users out of the channel, except for you. The channel will be cycled (recreated) if you are not in it.
If a reason is specified, it will be included in the kick message.
If a reason is specified, it will be included in the kick message.
'''Syntax:'''
'''Syntax:'''
<pre>CLEAR &lt;#channel&gt; USERS [&lt;reason&gt;]</pre>
<pre>CLEAR &lt;#channel&gt; USERS [&lt;reason&gt;]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ CLEAR #ChatZone USERS</pre>
<pre>/msg ChanServ CLEAR #ChatZone USERS</pre>
=== COUNT ===
=== COUNT ===
The '''COUNT''' command provides a count of entries in each of the channel's xOP lists and how many entries on the access list do not match a xOP value.
The '''COUNT''' command provides a count of entries in each of the channel's xOP lists and how many entries on the access list do not match a xOP value.
The second line shows how many access entries have each flag.
The second line shows how many access entries have each flag.
'''Syntax:'''
'''Syntax:'''
<pre>COUNT &lt;#channel&gt;</pre>
<pre>COUNT &lt;#channel&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ COUNT #oscn</pre>
<pre>/msg ChanServ COUNT #oscn</pre>
=== DROP ===
=== DROP ===
The '''DROP''' command allows you to "unregister" a channel. Once a channel is dropped, all associated data (access lists, etc.) is removed and cannot be restored.
The '''DROP''' command allows you to "unregister" a channel. Once a channel is dropped, all associated data (access lists, etc.) is removed and cannot be restored.
Refer to the '''SET FOUNDER''' and '''FLAGS''' help sections for instructions on transferring channel ownership.
'''Syntax:'''
'''Syntax:'''
<pre>DROP &lt;#channel&gt;</pre>
<pre>DROP &lt;#channel&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ DROP #foo</pre>
<pre>/msg ChanServ DROP #foo</pre>
=== FLAGS ===
=== FLAGS ===
The '''FLAGS''' command allows the granting and removal of channel privileges on a more specific level. It supports nicknames, groups, and hostmasks as targets.
The '''FLAGS''' command allows the granting and removal of channel privileges on a more specific level. It supports nicknames, groups, and hostmasks as targets.
When only the channel argument is provided, a listing of permissions granted to users will be displayed.
When only the channel argument is provided, a listing of permissions granted to users will be displayed.
'''Syntax:'''
'''Syntax:'''
<pre>FLAGS &lt;#channel&gt;</pre>
<pre>FLAGS &lt;#channel&gt;</pre>
To modify an access entry, specify either a template name (which sets the access to the template) or a flags change (beginning with + or -). See the '''TEMPLATE''' help entry for more information about templates.
If you are not a channel founder, you may only manipulate flags you currently possess. For instance:
- +v grants +V
- +o grants +O
- +r grants +b
If the channel is restricted using the '''LIMITFLAGS''' option, only specific flags can be changed. See '''SET LIMITFLAGS''' for further details.
If you do not have +f, you may still remove your own access with -*.
'''Syntax:'''
<pre>FLAGS &lt;#channel&gt; [nickname|hostmask|group template]</pre>
<pre>FLAGS &lt;#channel&gt; [nickname|hostmask|group template]</pre>
<pre>FLAGS &lt;#channel&gt; [nickname|hostmask|group flag_changes]</pre>
<pre>FLAGS &lt;#channel&gt; [nickname|hostmask|group flag_changes]</pre>
'''Permissions:'''
'''Permissions:'''
{| class="wikitable"
{| class="wikitable"
Line 196: Line 146:
| +* || Grants all permissions except +b and +F. || -* || Removes all permissions, including +b and +F.
| +* || Grants all permissions except +b and +F. || -* || Removes all permissions, including +b and +F.
|}
|}
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ FLAGS #foo</pre>
<pre>/msg ChanServ FLAGS #foo</pre>
Line 205: Line 154:
<pre>/msg ChanServ FLAGS #foo TroubleUser!*@*.troubleisp.net +b</pre>
<pre>/msg ChanServ FLAGS #foo TroubleUser!*@*.troubleisp.net +b</pre>
<pre>/msg ChanServ FLAGS #foo !baz +*</pre>
<pre>/msg ChanServ FLAGS #foo !baz +*</pre>
=== FORCEXOP ===
The '''FORCEXOP''' command resets all channel access levels to xOP-compatible values. After executing this command, the founder(s) will have all permissions, and all other users with flags will be placed into one of the xOP lists. This command is useful if the definitions of which flags correspond to each xOP level change, and the founder wishes to use only xOP commands.
Only a channel founder can execute this command.
'''Syntax:'''
<pre>FORCEXOP &lt;#channel&gt;</pre>
See also: SOP, AOP, HOP, VOP
'''Syntax:'''
<pre>FTRANSFER &lt;#channel&gt; &lt;founder&gt;</pre>
'''Examples:'''
<pre>/msg ChanServ FTRANSFER #casual vodkaswirl</pre>
=== GETKEY ===
=== GETKEY ===
The '''GETKEY''' command returns the key (password) required to join a channel. The key is used with the '''/join''' command.
The '''GETKEY''' command returns the key (password) required to join a channel.
 
'''Syntax:'''
'''Syntax:'''
<pre>GETKEY &lt;#channel&gt;</pre>
<pre>GETKEY &lt;#channel&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ GETKEY #foo</pre>
<pre>/msg ChanServ GETKEY #foo</pre>
=== INFO ===
=== INFO ===
The '''INFO''' command displays channel information such as registration time, flags, and other details.
The '''INFO''' command displays channel information such as registration time, flags, and other details.
'''Syntax:'''
'''Syntax:'''
<pre>INFO &lt;#channel&gt;</pre>
<pre>INFO &lt;#channel&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ INFO #foo</pre>
<pre>/msg ChanServ INFO #foo</pre>
=== INVITE ===
=== INVITE ===
The '''INVITE''' command requests services to invite you to a specified channel. This is useful if the channel has the +i mode enabled.
The '''INVITE''' command requests services to invite you to a specified channel.
 
'''Syntax:'''
'''Syntax:'''
<pre>INVITE &lt;#channel&gt;</pre>
<pre>INVITE &lt;#channel&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ INVITE #foo</pre>
<pre>/msg ChanServ INVITE #foo</pre>
=== KICK ===
=== KICK ===
The '''KICK''' command removes a user from a channel. The user may immediately rejoin. The kicker's nickname is included in the kick reason.
The '''KICK''' command removes a user from a channel.
 
'''Syntax:'''
'''Syntax:'''
<pre>KICK &lt;#channel&gt; &lt;nick&gt; [reason]</pre>
<pre>KICK &lt;#channel&gt; &lt;nick&gt; [reason]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ KICK #foo abuser</pre>
<pre>/msg ChanServ KICK #foo abuser</pre>
<pre>/msg ChanServ KICK #foo abuser please stop</pre>
<pre>/msg ChanServ KICK #foo abuser please stop</pre>
=== KICKBAN ===
=== KICKBAN ===
The '''KICKBAN''' command removes a user from a channel while also placing a ban on the user. Any matching ban exceptions will be removed.
The '''KICKBAN''' command removes a user from a channel while also placing a ban on the user.
 
'''Syntax:'''
'''Syntax:'''
<pre>KICKBAN &lt;#channel&gt; &lt;nick&gt; [reason]</pre>
<pre>KICKBAN &lt;#channel&gt; &lt;nick&gt; [reason]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ KICKBAN #foo abuser</pre>
<pre>/msg ChanServ KICKBAN #foo abuser</pre>
<pre>/msg ChanServ KICKBAN #foo abuser go away</pre>
<pre>/msg ChanServ KICKBAN #foo abuser go away</pre>
=== OP|DEOP|VOICE|DEVOICE ===
=== OP|DEOP|VOICE|DEVOICE ===
These commands perform status mode changes on a channel. When performing an operation on another user, they will be notified of the action.
These commands perform status mode changes on a channel.
 
If the last parameter is omitted, the action will be performed on the user requesting the command.
 
'''Syntax:'''
'''Syntax:'''
<pre>OP|DEOP &lt;#channel&gt; [nickname]</pre>
<pre>OP|DEOP &lt;#channel&gt; [nickname]</pre>
<pre>VOICE|DEVOICE &lt;#channel&gt; [nickname]</pre>
<pre>VOICE|DEVOICE &lt;#channel&gt; [nickname]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ OP #foo bar</pre>
<pre>/msg ChanServ OP #foo bar</pre>
<pre>/msg ChanServ DEVOICE #foo</pre>
<pre>/msg ChanServ DEVOICE #foo</pre>
=== PROTECT|DEPROTECT ===
These commands perform status mode changes on a channel. When performing an operation on another user, they will be notified of the action.
If the last parameter is omitted, the action is performed on the user requesting the command.
'''Syntax:'''
<pre>PROTECT|DEPROTECT &lt;#channel&gt; [nickname]</pre>
'''Examples:'''
<pre>/msg ChanServ PROTECT #foo</pre>
=== QUIET ===
=== QUIET ===
The '''QUIET''' command allows you to mute a user or hostmask in a channel. Affected users will be notified that you did it.
The '''QUIET''' command allows you to mute a user or hostmask in a channel.
 
'''Syntax:'''
'''Syntax:'''
<pre>QUIET &lt;#channel&gt; &lt;nickname|hostmask&gt;</pre>
<pre>QUIET &lt;#channel&gt; &lt;nickname|hostmask&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ QUIET #chat AfterDeath</pre>
<pre>/msg ChanServ QUIET #chat AfterDeath</pre>
<pre>/msg ChanServ QUIET #chat *!*@*.ipt.aol.com</pre>
=== RECOVER ===
The '''RECOVER''' command allows you to regain control of your channel in the event of a takeover. This will deop everyone, clear the channel's limit and key, remove any matching bans, add a ban exception, set the channel to invite-only and moderated, and invite you to the channel. If you are already on the channel, you will be opped without adding a ban exception.
'''Syntax:'''
<pre>RECOVER &lt;#channel&gt;</pre>
'''Example:'''
<pre>/msg ChanServ RECOVER #foo</pre>
=== REGISTER ===
=== REGISTER ===
The '''REGISTER''' command allows you to register a channel to gain better control, including maintaining an access list and other functions typically provided by IRC bots.
The '''REGISTER''' command allows you to register a channel.
 
'''Syntax:'''
'''Syntax:'''
<pre>REGISTER &lt;#channel&gt;</pre>
<pre>REGISTER &lt;#channel&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ REGISTER #atheme</pre>
<pre>/msg ChanServ REGISTER #atheme</pre>
 
=== ROLE ===
=== ROLE ADD ===
The '''ROLE''' command suite manages channel-specific roles and permissions.
The '''ROLE ADD''' command creates a channel role with the given flags. Multiple flags should be separated by a space.
 
'''Syntax:'''
'''Syntax:'''
<pre>ROLE &lt;#channel&gt; ADD &lt;role&gt; [flags]</pre>
<pre>ROLE &lt;#channel&gt; ADD &lt;role&gt; [flags]</pre>
 
<pre>ROLE &lt;#channel&gt; DEL &lt;role&gt;</pre>
'''Flags:'''
<pre>ROLE &lt;#channel&gt; LIST</pre>
{| class="wikitable"
<pre>ROLE &lt;#channel&gt; SET &lt;role&gt; &lt;flags&gt;</pre>
|-
| +voice || Enables use of the voice/devoice commands. || +autovoice || Enables automatic voice. || +halfop || Enables use of the halfop/dehalfop commands.
|-
| +autohalfop || Enables automatic halfop. || +op || Enables use of the op/deop commands. || +autoop || Enables automatic op.
|-
| +protect || Enables use of the protect/deprotect commands. || +owner || Enables use of the owner/deowner commands. || +set || Enables use of the set command.
|-
| +invite || Enables use of the invite and getkey commands. || +remove || Enables use of the kick, kickban, ban, and unban commands. || +recover || Enables use of the recover and clear commands.
|-
| +acl-change || Enables modification of channel access lists. || +topic || Enables use of the topic and topicappend commands. || +acl-view || Enables viewing of channel access lists.
|-
| +successor || Marks the user as a successor. || +founder || Grants full founder access. || +banned || Enables automatic kickban.
|}
 
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ ROLE #atheme ADD helpers topic autovoice</pre>
<pre>/msg ChanServ ROLE #atheme ADD helpers topic autovoice</pre>
=== ROLE DEL ===
The '''ROLE DEL''' command deletes a channel-specific role.
'''Syntax:'''
<pre>ROLE &lt;#channel&gt; DEL &lt;role&gt;</pre>
'''Examples:'''
<pre>/msg ChanServ ROLE #atheme DEL helpers</pre>
<pre>/msg ChanServ ROLE #atheme DEL helpers</pre>
=== ROLE LIST ===
The '''ROLE LIST''' command lists all channel-specific and network-wide roles and the flags assigned to each role.
'''Syntax:'''
<pre>ROLE &lt;#channel&gt; LIST</pre>
'''Examples:'''
<pre>/msg ChanServ ROLE #baz LIST</pre>
<pre>/msg ChanServ ROLE #baz LIST</pre>
=== ROLE SET ===
The '''ROLE SET''' command allows you to modify the flags of an existing role. All users in that role will receive the effects of the changes. Multiple flags should be separated by a space, with a modifier (+ or -) before each flag.
'''Syntax:'''
<pre>ROLE &lt;#channel&gt; SET &lt;role&gt; &lt;flags&gt;</pre>
'''Examples:'''
<pre>/msg ChanServ ROLE #atheme SET channel-ops +acl-change +set +recover</pre>
<pre>/msg ChanServ ROLE #atheme SET channel-ops +acl-change +set +recover</pre>
<pre>/msg ChanServ ROLE #atheme SET helpers +invite</pre>
<pre>/msg ChanServ ROLE #foo SET helpers -topic -invite</pre>
=== STATUS ===
=== STATUS ===
The '''STATUS''' command returns information about your current state, including your nickname, IRC operator, and SRA status. If a channel parameter is specified, it will show your access to the given channel.
The '''STATUS''' command returns information about your current state and channel access.
 
'''Syntax:'''
'''Syntax:'''
<pre>STATUS [#channel]</pre>
<pre>STATUS [#channel]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ STATUS</pre>
<pre>/msg ChanServ STATUS</pre>
<pre>/msg ChanServ STATUS #foo</pre>
<pre>/msg ChanServ STATUS #foo</pre>
=== SYNC ===
=== SYNC ===
The '''SYNC''' command forces all channel statuses to flags, giving and removing ops, voice, and so on where necessary. You must have the +R flag to run this command.
The '''SYNC''' command forces all channel statuses to flags.
 
'''Syntax:'''
'''Syntax:'''
<pre>SYNC &lt;#channel&gt;</pre>
<pre>SYNC &lt;#channel&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ SYNC #bar</pre>
<pre>/msg ChanServ SYNC #bar</pre>
=== TAXONOMY ===
=== TAXONOMY ===
The '''TAXONOMY''' command lists metadata information associated with registered channels.
The '''TAXONOMY''' command lists metadata information associated with registered channels.
 
'''Syntax:'''
<pre>TAXONOMY &lt;#channel&gt;</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ TAXONOMY #atheme</pre>
<pre>/msg ChanServ TAXONOMY #atheme</pre>
=== TEMPLATE ===
=== TEMPLATE ===
The '''TEMPLATE''' command allows the definition of sets of flags, simplifying the use of the FLAGS command. Without arguments, network-wide templates are shown. These include at least SOP/AOP/HOP/VOP.
The '''TEMPLATE''' command allows the definition of sets of flags, simplifying the use of the FLAGS command.
 
When given only the channel argument, a listing of templates for the channel will be displayed.
 
'''Syntax:'''
'''Syntax:'''
<pre>TEMPLATE</pre>
<pre>TEMPLATE</pre>
<pre>TEMPLATE &lt;#channel&gt;</pre>
<pre>TEMPLATE &lt;#channel&gt;</pre>
To modify a template, use the following syntax. You can specify a template name or a flags change (with + or -), optionally preceded by an ! for bulk changes. Templates cannot be empty, and the template system has limitations.
'''Syntax:'''
<pre>TEMPLATE &lt;#channel&gt; [template oldtemplate]</pre>
<pre>TEMPLATE &lt;#channel&gt; [template oldtemplate]</pre>
<pre>TEMPLATE &lt;#channel&gt; [template flag_changes]</pre>
<pre>TEMPLATE &lt;#channel&gt; [template flag_changes]</pre>
<pre>TEMPLATE &lt;#channel&gt; [template !flag_changes]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ TEMPLATE #foo</pre>
<pre>/msg ChanServ TEMPLATE #foo</pre>
<pre>/msg ChanServ TEMPLATE #foo user VOP</pre>
<pre>/msg ChanServ TEMPLATE #foo user VOP</pre>
<pre>/msg ChanServ TEMPLATE #foo user !+A</pre>
<pre>/msg ChanServ TEMPLATE #foo co-founder +*-OH</pre>
<pre>/msg ChanServ TEMPLATE #foo op -*+vVhoti</pre>
<pre>/msg ChanServ TEMPLATE #foo co-founder +*-O</pre>
<pre>/msg ChanServ TEMPLATE #foo obsoletetemplate -*</pre>
=== TOPIC ===
=== TOPIC ===
The '''TOPIC''' command allows for the changing of a channel's topic.
The '''TOPIC''' command allows for changing a channel's topic.
 
'''Syntax:'''
'''Syntax:'''
<pre>TOPIC &lt;#channel&gt; &lt;topic&gt;</pre>
<pre>TOPIC &lt;#channel&gt; &lt;topic&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ TOPIC #foo bar</pre>
<pre>/msg ChanServ TOPIC #foo bar</pre>
=== TOPICAPPEND ===
=== TOPICAPPEND ===
The '''TOPICAPPEND''' command allows for the addition of a topic to a channel.
The '''TOPICAPPEND''' command appends text to a channel's topic.
 
'''Syntax:'''
'''Syntax:'''
<pre>TOPICAPPEND &lt;#channel&gt; &lt;topic&gt;</pre>
<pre>TOPICAPPEND &lt;#channel&gt; &lt;topic&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ TOPICAPPEND #foo bar</pre>
<pre>/msg ChanServ TOPICAPPEND #foo bar</pre>
=== TOPICPREPEND ===
=== TOPICPREPEND ===
The '''TOPICPREPEND''' command allows for the addition of a topic at the beginning of the channel's topic.
The '''TOPICPREPEND''' command prepends text to the beginning of a channel's topic.
 
'''Syntax:'''
'''Syntax:'''
<pre>TOPICPREPEND &lt;#channel&gt; &lt;topic&gt;</pre>
<pre>TOPICPREPEND &lt;#channel&gt; &lt;topic&gt;</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ TOPICPREPEND #foo bar</pre>
<pre>/msg ChanServ TOPICPREPEND #foo bar</pre>
=== UNBAN ===
=== UNBAN ===
The '''UNBAN''' command allows you to unban a user or hostmask from a channel. If no nickname or hostmask is specified, you will be unbanned.
The '''UNBAN''' command unbans a user or hostmask from a channel.
 
'''Syntax:'''
'''Syntax:'''
<pre>UNBAN &lt;#channel&gt; [nickname|hostmask]</pre>
<pre>UNBAN &lt;#channel&gt; [nickname|hostmask]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ UNBAN #chat pfish</pre>
<pre>/msg ChanServ UNBAN #chat pfish</pre>
<pre>/msg ChanServ UNBAN #chat *!*@*.ucdavis.edu</pre>
=== UNQUIET ===
=== UNQUIET ===
The '''UNQUIET''' command allows you to unmute a user or hostmask in a channel. If no nickname or hostmask is specified, you will be unquieted.
The '''UNQUIET''' command unmutes a user or hostmask in a channel.
 
Affected users will be notified.
 
'''Syntax:'''
'''Syntax:'''
<pre>UNQUIET &lt;#channel&gt; [nickname|hostmask]</pre>
<pre>UNQUIET &lt;#channel&gt; [nickname|hostmask]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ UNQUIET #chat Diablo-D3</pre>
<pre>/msg ChanServ UNQUIET #chat Diablo-D3</pre>
<pre>/msg ChanServ UNQUIET #chat *!*@*.trilug.org</pre>
=== VOICE ===
 
The '''VOICE''' command gives channel voice to a user.
'''Syntax:'''
<pre>VOICE &lt;#channel&gt; [nickname]</pre>
'''Examples:'''
<pre>/msg ChanServ VOICE #foo bar</pre>
=== WHY ===
=== WHY ===
The '''WHY''' command shows the access entries an online user matches.
The '''WHY''' command shows the access entries an online user matches.
'''Syntax:'''
'''Syntax:'''
<pre>WHY &lt;#channel&gt; [nickname]</pre>
<pre>WHY &lt;#channel&gt; [nickname]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ WHY #atheme jilles^</pre>
<pre>/msg ChanServ WHY #atheme jilles^</pre>
 
=== SET ANTIFLOOD ===
=== xOP ===
The '''SET ANTIFLOOD''' command configures ChanServ flood control settings.
The '''xOP''' commands allow you to maintain channel access lists, which can contain registered accounts or hostmasks. The access levels may differ per network, and the TEMPLATE system is recommended for ease of use.
 
The privileges required to execute these commands are the same as those for the corresponding FLAGS commands.
 
'''Syntax:'''
<pre>VOP|AOP|SOP &lt;#channel&gt; ADD|DEL|LIST &lt;nickname|hostmask&gt;</pre>
 
'''Examples:'''
<pre>/msg ChanServ VOP #foo ADD bar</pre>
<pre>/msg ChanServ VOP #foo ADD foo!*@bar.com</pre>
<pre>/msg ChanServ AOP #foo DEL bar</pre>
<pre>/msg ChanServ SOP #foo LIST</pre>
 
 
 
 
 
 
 
=== ANTIFLOOD ===
The '''SET ANTIFLOOD''' command configures ChanServ flood control settings. The action parameter can be '''QUIET''', '''KICKBAN''', or '''AKILL'''. 
 
Flood control can be turned off using the '''OFF''' setting and turned on using default settings with the '''ON''' setting. 
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; ANTIFLOOD &lt;action&gt;</pre>
<pre>SET &lt;#channel&gt; ANTIFLOOD &lt;action&gt;</pre>
<pre>SET &lt;#channel&gt; ANTIFLOOD OFF</pre>
<pre>SET &lt;#channel&gt; ANTIFLOOD OFF</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ SET #channel ANTIFLOOD QUIET</pre>
<pre>/msg ChanServ SET #channel ANTIFLOOD QUIET</pre>
<pre>/msg ChanServ SET #silence ANTIFLOOD KICKBAN</pre>
<pre>/msg ChanServ SET #silence ANTIFLOOD KICKBAN</pre>
<pre>/msg ChanServ SET #trolls ANTIFLOOD AKILL</pre>
=== SET AUTOVOP ===
<pre>/msg ChanServ SET #coders ANTIFLOOD OFF</pre>
The '''SET AUTOVOP''' command automatically gives channel voice to users.
<pre>/msg ChanServ SET #defocus ANTIFLOOD ON</pre>
'''Syntax:'''
 
<pre>SET &lt;#channel&gt; AUTOVOP ON|OFF</pre>
=== BLOCKBADWORDS ===
=== SET BLOCKBADWORDS ===
The '''SET BLOCKBADWORDS''' command determines whether a channel's messages are checked against the badword list. All users will be affected by this setting. 
The '''SET BLOCKBADWORDS''' command designates whether messages sent to a channel are checked against the channel's [[#BADWORDS|BADWORDS]] list.
 
When set to `ON`, ChanServ monitors incoming messages and takes the configured action against matches. Note that channel operators and voiced users are automatically exempt from these badword checks.
If you want ops to be exempt from badword checking, use '''SET BLOCKBADWORDSOPS'''.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; BLOCKBADWORDS ON|OFF</pre>
<pre>SET &lt;#channel&gt; BLOCKBADWORDS ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #sailors BLOCKBADWORDS ON</pre>
<pre>/msg ChanServ SET #sailors BLOCKBADWORDS ON</pre>
 
=== SET EMAIL ===
=== BLOCKBADWORDSOPS ===
The '''SET EMAIL''' command sets the email address associated with a channel.
The '''SET BLOCKBADWORDSOPS''' command determines whether or not ops will be exempt from badword checking on a channel where badword filtering is enabled. 
 
'''See also:''' [[#BLOCKBADWORDS|SET BLOCKBADWORDS]] and [[#BADWORDS|BADWORDS]]
 
'''Syntax:'''
<pre>SET &lt;#channel&gt; BLOCKBADWORDSOPS ON|OFF</pre>
 
'''Example:'''
<pre>/msg ChanServ SET #sailors BLOCKBADWORDSOPS ON</pre>
 
=== EMAIL ===
The '''SET EMAIL''' command allows you to change or set the email address associated with a channel. This email is shown in the channel's '''INFO''' output.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; EMAIL [email]</pre>
<pre>SET &lt;#channel&gt; EMAIL [email]</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #chat EMAIL some@email.address</pre>
<pre>/msg ChanServ SET #chat EMAIL some@email.address</pre>
 
=== SET ENTRYMSG ===
=== ENTRYMSG ===
The '''SET ENTRYMSG''' command sets a message sent to all users joining the channel.
The '''SET ENTRYMSG''' command allows you to change or set a message sent to all users joining the channel.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; ENTRYMSG [message]</pre>
<pre>SET &lt;#channel&gt; ENTRYMSG [message]</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #support ENTRYMSG Welcome to #support. Please do not paste more than 5 lines.</pre>
<pre>/msg ChanServ SET #support ENTRYMSG Welcome to #support.</pre>
 
=== SET FANTASY ===
=== FANTASY ===
The '''SET FANTASY''' command enables or disables ChanServ fantasy commands.
The '''SET FANTASY''' command allows you to enable or disable ChanServ fantasy commands (such as !op, !deop). The '''GUARD''' flag must also be enabled for fantasy commands to work.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; FANTASY ON|OFF</pre>
<pre>SET &lt;#channel&gt; FANTASY ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #chatspike FANTASY ON</pre>
<pre>/msg ChanServ SET #chatspike FANTASY ON</pre>
 
=== SET GAMESERV ===
=== FOUNDER ===
The '''SET GAMESERV''' command allows gaming services to be used in the channel.
The '''SET FOUNDER''' command allows you to set a new founder for the channel. The new founder must confirm the transfer by executing the same command. If the transfer is not confirmed, you can cancel it by specifying your own nickname as the new founder.
 
'''Syntax:'''
<pre>SET &lt;#channel&gt; FOUNDER &lt;newnick&gt;</pre>
<pre>SET &lt;#channel&gt; FOUNDER &lt;yournick&gt;</pre>
 
'''Example:'''
<pre>/msg ChanServ SET #foo FOUNDER bar</pre>
 
=== GAMESERV ===
 
The '''SET GAMESERV''' command allows gaming services to be used in the channel via '''/msg GameServ <command> <channel> <parameters>'''. You can decide who may use GameServ with the following options:
- '''ALL''' - Allow all channel members.
- '''VOICE''' - Allow ops and voiced members.
- '''OP''' - Allow only ops.
- '''OFF''' - Allow no one.
 
For '''OP''' and '''VOICE''', both channel status and ChanServ flags apply.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; GAMESERV ALL|VOICE|OP|OFF</pre>
<pre>SET &lt;#channel&gt; GAMESERV ALL|VOICE|OP|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo GAMESERV VOICE</pre>
<pre>/msg ChanServ SET #foo GAMESERV VOICE</pre>
 
=== SET GUARD ===
'''See also:''' [https://wiki.hybridirc.com/w/GameServ GameServ]
 
=== GUARD ===
The '''SET GUARD''' command allows ChanServ to join your channel.
The '''SET GUARD''' command allows ChanServ to join your channel.
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; GUARD ON|OFF</pre>
<pre>SET &lt;#channel&gt; GUARD ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #atheme GUARD ON</pre>
<pre>/msg ChanServ SET #atheme GUARD ON</pre>
 
=== SET KEEPTOPIC ===
=== KEEPTOPIC ===
The '''SET KEEPTOPIC''' command enables topic retention and restoration.
The '''SET KEEPTOPIC''' command enables the restoration of the old topic after the channel becomes empty. It may revert topic changes after netsplits or service outages, so it is not recommended to enable this if your channel rarely empties.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; KEEPTOPIC ON|OFF</pre>
<pre>SET &lt;#channel&gt; KEEPTOPIC ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo KEEPTOPIC ON</pre>
<pre>/msg ChanServ SET #foo KEEPTOPIC ON</pre>
 
=== SET LIMITFLAGS ===
=== LIMITFLAGS ===
The '''SET LIMITFLAGS''' command limits the power of the +f flag.
The '''SET LIMITFLAGS''' command limits the power of the +f flag. Users with +f who lack +s or +R can only set +b (akick). Users who do not have all of +s and +R cannot set +s, +R, or +f.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; LIMITFLAGS ON|OFF</pre>
<pre>SET &lt;#channel&gt; LIMITFLAGS ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo LIMITFLAGS ON</pre>
<pre>/msg ChanServ SET #foo LIMITFLAGS ON</pre>
 
=== SET MLOCK ===
=== MLOCK ===
The '''SET MLOCK''' command enforces a set of modes on the channel.
The '''SET MLOCK''' (mode lock) command enforces a set of modes on the channel, preventing abuse in cases such as +kl. Be cautious as it can also make it harder to fight bots. Locked modes are visible to anyone recreating the channel (including keys).
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; MLOCK [modes]</pre>
<pre>SET &lt;#channel&gt; MLOCK [modes]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ SET #foo MLOCK +nt-lk</pre>
<pre>/msg ChanServ SET #foo MLOCK +nt-lk</pre>
<pre>/msg ChanServ SET #foo MLOCK +inst-kl</pre>
=== SET NOSYNC ===
<pre>/msg ChanServ SET #c MLOCK +ntk c</pre>
The '''SET NOSYNC''' command disables automatic syncing of channel status.
<pre>/msg ChanServ SET #foo MLOCK +ntcjf-kl 2:30 #overflow</pre>
<pre>/msg ChanServ SET #overflow MLOCK +mntF-kljf</pre>
<pre>/msg ChanServ SET #foo1 MLOCK +ntlL 40 #foo2</pre>
 
=== NOSYNC ===
The '''SET NOSYNC''' command disables automatic syncing of channel status when it is changed.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; NOSYNC ON|OFF</pre>
<pre>SET &lt;#channel&gt; NOSYNC ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo NOSYNC ON</pre>
<pre>/msg ChanServ SET #foo NOSYNC ON</pre>
 
=== SET PREFIX ===
=== PREFIX ===
The '''SET PREFIX''' command customizes the fantasy trigger for your channel.
The '''SET PREFIX''' command allows you to customize the fantasy trigger for your channel. This is useful if you have bots that conflict with ChanServ's default fantasy prefix. Specifying no prefix (or "DEFAULT") resets the prefix to the network's default.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; PREFIX [prefix]</pre>
<pre>SET &lt;#channel&gt; PREFIX [prefix]</pre>
'''Examples:'''
'''Examples:'''
<pre>/msg ChanServ SET #foo PREFIX</pre>
<pre>/msg ChanServ SET #foo PREFIX '</pre>
<pre>/msg ChanServ SET #foo PREFIX '</pre>
<pre>/msg ChanServ SET #c PREFIX %</pre>
=== SET PRIVATE ===
<pre>/msg ChanServ SET #c PREFIX default</pre>
The '''SET PRIVATE''' command hides channel information from other users.
 
=== PRIVATE ===
The '''SET PRIVATE''' command hides various channel information from other users.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; PRIVATE ON|OFF</pre>
<pre>SET &lt;#channel&gt; PRIVATE ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo PRIVATE ON</pre>
<pre>/msg ChanServ SET #foo PRIVATE ON</pre>
 
=== SET PROPERTY ===
=== PROPERTY ===
The '''SET PROPERTY''' command manipulates channel metadata.
The '''SET PROPERTY''' command manipulates metadata associated with a channel. To delete a metadata entry, specify the name and leave the value blank.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; PROPERTY &lt;name&gt; [value]</pre>
<pre>SET &lt;#channel&gt; PROPERTY &lt;name&gt; [value]</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #atheme PROPERTY URL http://www.atheme.org/</pre>
<pre>/msg ChanServ SET #atheme PROPERTY URL http://www.atheme.org/</pre>
<pre>/msg ChanServ SET #meat PROPERTY VEGETABLES</pre>
=== SET PUBACL ===
 
The '''SET PUBACL''' command allows the channel access list to be publicly visible.
=== PUBACL ===
The '''SET PUBACL''' command allows the channel access list to be publicly visible.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; PUBACL ON|OFF</pre>
<pre>SET &lt;#channel&gt; PUBACL ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo PUBACL ON</pre>
<pre>/msg ChanServ SET #foo PUBACL ON</pre>
 
=== SET RESTRICTED ===
=== RESTRICTED ===
The '''SET RESTRICTED''' command restricts access to the channel to users on the access list.
The '''SET RESTRICTED''' command designates a channel as restricted access. Users who are not on the channel's access list or who do not have the '''chan:joinstaffonly''' privilege will be kicked and banned from the channel upon joining, removing any ban exceptions. If the channel is +i, no ban will be set, and invite exceptions will be removed.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; RESTRICTED ON|OFF</pre>
<pre>SET &lt;#channel&gt; RESTRICTED ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #snoop RESTRICTED ON</pre>
<pre>/msg ChanServ SET #snoop RESTRICTED ON</pre>
 
=== SET SECURE ===
=== SECURE ===
The '''SET SECURE''' command prevents unauthorized users from gaining operator status.
The '''SET SECURE''' command prevents anyone not on the channel's access lists from gaining operator or halfop status on the channel. This is useful if you're cautious about unauthorized access.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; SECURE ON|OFF</pre>
<pre>SET &lt;#channel&gt; SECURE ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo SECURE ON</pre>
<pre>/msg ChanServ SET #foo SECURE ON</pre>
 
=== SET TOPICLOCK ===
=== TOPICLOCK ===
The '''SET TOPICLOCK''' command restricts who can change the topic.
The '''SET TOPICLOCK''' command causes ChanServ to revert topic changes by users without the +t flag. Topic changes during netsplits or service outages will always be reverted. TOPICLOCK requires KEEPTOPIC and will automatically enable it. Disabling KEEPTOPIC will disable TOPICLOCK as well.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; TOPICLOCK ON|OFF</pre>
<pre>SET &lt;#channel&gt; TOPICLOCK ON|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo TOPICLOCK ON</pre>
<pre>/msg ChanServ SET #foo TOPICLOCK ON</pre>
 
=== SET URL ===
=== URL ===
The '''SET URL''' command sets the channel URL.
The '''SET URL''' command allows you to change or set the URL associated with a channel. This URL will be shown to all users joining the channel.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; URL [url]</pre>
<pre>SET &lt;#channel&gt; URL [url]</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo URL http://example.com</pre>
<pre>/msg ChanServ SET #foo URL http://example.com</pre>
 
=== SET VERBOSE ===
=== VERBOSE ===
The '''SET VERBOSE''' command notifies the channel about access list modifications.
The '''SET VERBOSE ON''' command sends a notice to the channel when someone makes changes to the access lists. 
 
The '''SET VERBOSE OPS''' command sends a notice to the channel operators when someone makes changes to the access lists. 
 
Fantasy commands are always executed as if '''SET VERBOSE ON''' is in effect.
 
'''Syntax:'''
'''Syntax:'''
<pre>SET &lt;#channel&gt; VERBOSE ON|OPS|OFF</pre>
<pre>SET &lt;#channel&gt; VERBOSE ON|OPS|OFF</pre>
'''Example:'''
'''Example:'''
<pre>/msg ChanServ SET #foo VERBOSE ON</pre>
<pre>/msg ChanServ SET #foo VERBOSE ON</pre>

Latest revision as of 13:05, 8 November 2026

ChanServ is a service on the IRC network that helps manage and protect channels. It allows channel operators to register their channels, set access levels for users, and enforce channel settings like topic protection and bans. ChanServ ensures that the channel settings are maintained even when the channel operator is offline, providing a stable and secure environment for the community.

ChanServ Command Index

Here is a list of all ChanServ commands:

ChanServ Commands

AKICK BAN CLEAR DEOP DEVOICE
DROP FLAGS GETKEY INFO INVITE
KICK KICKBAN OP QUIET REGISTER
SET TOPIC UNBAN UNQUIET VOICE
WHY ACCESS AOP BADWORDS BANSEARCH
CALC CLONE COUNT DF EIGHTBALL
HELP LIST LOTTERY NAMEGEN NWOD
RECOVER ROLE ROLL RPS SOP
STATUS SYNC TAXONOMY TEMPLATE TOPICAPPEND
TOPICPREPEND TOPICSWAP VOP WOD

ChanServ Set Commands

Here is a list of all commands related to SET:

ANTIFLOOD AUTOVOP BLOCKBADWORDS EMAIL ENTRYMSG
FANTASY GAMESERV GUARD KEEPTOPIC LIMITFLAGS
MLOCK NOSYNC PREFIX PRIVATE PROPERTY
PUBACL RESTRICTED SECURE TOPICLOCK URL
VERBOSE

ACCESS

The ACCESS command manages user roles and access within a channel. This allows channel operators and founders to assign, modify, or remove access levels and permissions for users in the channel. Syntax:

ACCESS <#channel> ADD <user> <role>
ACCESS <#channel> DEL <user>
ACCESS <#channel> INFO <user>
ACCESS <#channel> LIST
ACCESS <#channel> SET <user> <role|flags>

Examples:

/msg ChanServ ACCESS #atheme ADD stitch helpers
/msg ChanServ ACCESS #atheme DEL stitch
/msg ChanServ ACCESS #atheme INFO nenolod
/msg ChanServ ACCESS #atheme LIST
/msg ChanServ ACCESS #atheme SET stitch channel-ops

AKICK

The AKICK command allows you to manage channel ban lists. Users on the AKICK list will be automatically kicked and banned upon joining the channel. Syntax:

AKICK <#channel> ADD <nickname|hostmask> [<!P|!T <minutes>] [<reason>]
AKICK <#channel> DEL <nickname|hostmask>
AKICK <#channel> LIST

Examples:

/msg ChanServ AKICK #foo ADD bar you are annoying
/msg ChanServ AKICK #foo ADD *!*@bar.com !T 5d
/msg ChanServ AKICK #foo ADD *!*@bar.com !T 5d you are annoying
/msg ChanServ AKICK #foo DEL bar
/msg ChanServ AKICK #foo LIST

BADWORDS

The BADWORDS command maintains a list of glob patterns (such as wildcards `*` and `?`) that messages in the channel will be checked against when the SET BLOCKBADWORDS option is enabled. When a match is found, ChanServ takes the specified action against the sending user. The available ACTION parameters are: - KICK – Kicks the user from the channel. - WARN – Sends a warning notice to the user. - BAN – Sets a channel ban on the user. - KICKBAN – Bans and kicks the user from the channel. - QUIET – Mutes the user in the channel (if supported by the IRCd). Syntax:

BADWORDS <#channel> LIST
BADWORDS <#channel> ADD <word> <action>
BADWORDS <#channel> DEL <word>

Examples:

/msg ChanServ BADWORDS #atheme LIST
/msg ChanServ BADWORDS #sailors ADD f?ck kick
/msg ChanServ BADWORDS #sailors ADD *dam?it* quiet
/msg ChanServ BADWORDS #desensitized DEL f?ck

BAN

The BAN command bans a user or hostmask from joining the channel. Syntax:

BAN <#channel> <nickname|hostmask>

Examples:

/msg ChanServ BAN #chat carnell
/msg ChanServ BAN #chat *!*@*.ipt.aol.com

CLEAR

The CLEAR BANS command removes all bans in a specific channel. It can also remove invite exceptions depending on your server's support. Syntax:

CLEAR <#channel> BANS [<types>]

Examples:

/msg ChanServ CLEAR #support BANS
/msg ChanServ CLEAR #support BANS eI

The CLEAR FLAGS command will remove all flags from users or groups with channel access in the specified channel, except for channel founders. This command can only be used by channel founders. Syntax:

CLEAR <#channel> FLAGS

Examples:

/msg ChanServ CLEAR #atheme FLAGS

The CLEAR USERS command will kick all users out of the channel, except for you. The channel will be cycled (recreated) if you are not in it. If a reason is specified, it will be included in the kick message. Syntax:

CLEAR <#channel> USERS [<reason>]

Examples:

/msg ChanServ CLEAR #ChatZone USERS

COUNT

The COUNT command provides a count of entries in each of the channel's xOP lists and how many entries on the access list do not match a xOP value. The second line shows how many access entries have each flag. Syntax:

COUNT <#channel>

Examples:

/msg ChanServ COUNT #oscn

DROP

The DROP command allows you to "unregister" a channel. Once a channel is dropped, all associated data (access lists, etc.) is removed and cannot be restored. Syntax:

DROP <#channel>

Examples:

/msg ChanServ DROP #foo

FLAGS

The FLAGS command allows the granting and removal of channel privileges on a more specific level. It supports nicknames, groups, and hostmasks as targets. When only the channel argument is provided, a listing of permissions granted to users will be displayed. Syntax:

FLAGS <#channel>
FLAGS <#channel> [nickname|hostmask|group template]
FLAGS <#channel> [nickname|hostmask|group flag_changes]

Permissions:

+v Enables use of the voice/devoice commands. +V Enables automatic voice. +h Enables use of the halfop/dehalfop commands.
+H Enables automatic halfop. +o Enables use of the op/deop commands. +O Enables automatic op.
+a Enables use of the protect/deprotect commands. +q Enables use of the owner/deowner commands. +s Enables use of the set command.
+i Enables use of the invite and getkey commands. +r Enables use of the kick, kickban, ban, and unban commands. +R Enables use of the recover and clear commands.
+f Enables modification of channel access lists. +t Enables use of the topic and topicappend commands. +A Enables viewing of channel access lists.
+S Marks the user as a successor. +F Grants full founder access. +b Enables automatic kickban.
+* Grants all permissions except +b and +F. -* Removes all permissions, including +b and +F.

Examples:

/msg ChanServ FLAGS #foo
/msg ChanServ FLAGS #foo foo!*@bar.com VOP
/msg ChanServ FLAGS #foo foo!*@bar.com -V+oO
/msg ChanServ FLAGS #foo foo!*@bar.com -*
/msg ChanServ FLAGS #foo foo +oOtsi
/msg ChanServ FLAGS #foo TroubleUser!*@*.troubleisp.net +b
/msg ChanServ FLAGS #foo !baz +*

GETKEY

The GETKEY command returns the key (password) required to join a channel. Syntax:

GETKEY <#channel>

Examples:

/msg ChanServ GETKEY #foo

INFO

The INFO command displays channel information such as registration time, flags, and other details. Syntax:

INFO <#channel>

Examples:

/msg ChanServ INFO #foo

INVITE

The INVITE command requests services to invite you to a specified channel. Syntax:

INVITE <#channel>

Examples:

/msg ChanServ INVITE #foo

KICK

The KICK command removes a user from a channel. Syntax:

KICK <#channel> <nick> [reason]

Examples:

/msg ChanServ KICK #foo abuser
/msg ChanServ KICK #foo abuser please stop

KICKBAN

The KICKBAN command removes a user from a channel while also placing a ban on the user. Syntax:

KICKBAN <#channel> <nick> [reason]

Examples:

/msg ChanServ KICKBAN #foo abuser
/msg ChanServ KICKBAN #foo abuser go away

OP|DEOP|VOICE|DEVOICE

These commands perform status mode changes on a channel. Syntax:

OP|DEOP <#channel> [nickname]
VOICE|DEVOICE <#channel> [nickname]

Examples:

/msg ChanServ OP #foo bar
/msg ChanServ DEVOICE #foo

QUIET

The QUIET command allows you to mute a user or hostmask in a channel. Syntax:

QUIET <#channel> <nickname|hostmask>

Examples:

/msg ChanServ QUIET #chat AfterDeath

REGISTER

The REGISTER command allows you to register a channel. Syntax:

REGISTER <#channel>

Examples:

/msg ChanServ REGISTER #atheme

ROLE

The ROLE command suite manages channel-specific roles and permissions. Syntax:

ROLE <#channel> ADD <role> [flags]
ROLE <#channel> DEL <role>
ROLE <#channel> LIST
ROLE <#channel> SET <role> <flags>

Examples:

/msg ChanServ ROLE #atheme ADD helpers topic autovoice
/msg ChanServ ROLE #atheme DEL helpers
/msg ChanServ ROLE #baz LIST
/msg ChanServ ROLE #atheme SET channel-ops +acl-change +set +recover

STATUS

The STATUS command returns information about your current state and channel access. Syntax:

STATUS [#channel]

Examples:

/msg ChanServ STATUS
/msg ChanServ STATUS #foo

SYNC

The SYNC command forces all channel statuses to flags. Syntax:

SYNC <#channel>

Examples:

/msg ChanServ SYNC #bar

TAXONOMY

The TAXONOMY command lists metadata information associated with registered channels. Syntax:

TAXONOMY <#channel>

Example:

/msg ChanServ TAXONOMY #atheme

TEMPLATE

The TEMPLATE command allows the definition of sets of flags, simplifying the use of the FLAGS command. Syntax:

TEMPLATE
TEMPLATE <#channel>
TEMPLATE <#channel> [template oldtemplate]
TEMPLATE <#channel> [template flag_changes]

Examples:

/msg ChanServ TEMPLATE #foo
/msg ChanServ TEMPLATE #foo user VOP

TOPIC

The TOPIC command allows for changing a channel's topic. Syntax:

TOPIC <#channel> <topic>

Examples:

/msg ChanServ TOPIC #foo bar

TOPICAPPEND

The TOPICAPPEND command appends text to a channel's topic. Syntax:

TOPICAPPEND <#channel> <topic>

Examples:

/msg ChanServ TOPICAPPEND #foo bar

TOPICPREPEND

The TOPICPREPEND command prepends text to the beginning of a channel's topic. Syntax:

TOPICPREPEND <#channel> <topic>

Examples:

/msg ChanServ TOPICPREPEND #foo bar

UNBAN

The UNBAN command unbans a user or hostmask from a channel. Syntax:

UNBAN <#channel> [nickname|hostmask]

Examples:

/msg ChanServ UNBAN #chat pfish

UNQUIET

The UNQUIET command unmutes a user or hostmask in a channel. Syntax:

UNQUIET <#channel> [nickname|hostmask]

Examples:

/msg ChanServ UNQUIET #chat Diablo-D3

VOICE

The VOICE command gives channel voice to a user. Syntax:

VOICE <#channel> [nickname]

Examples:

/msg ChanServ VOICE #foo bar

WHY

The WHY command shows the access entries an online user matches. Syntax:

WHY <#channel> [nickname]

Examples:

/msg ChanServ WHY #atheme jilles^

SET ANTIFLOOD

The SET ANTIFLOOD command configures ChanServ flood control settings. Syntax:

SET <#channel> ANTIFLOOD <action>
SET <#channel> ANTIFLOOD OFF

Examples:

/msg ChanServ SET #channel ANTIFLOOD QUIET
/msg ChanServ SET #silence ANTIFLOOD KICKBAN

SET AUTOVOP

The SET AUTOVOP command automatically gives channel voice to users. Syntax:

SET <#channel> AUTOVOP ON|OFF

SET BLOCKBADWORDS

The SET BLOCKBADWORDS command designates whether messages sent to a channel are checked against the channel's BADWORDS list. When set to `ON`, ChanServ monitors incoming messages and takes the configured action against matches. Note that channel operators and voiced users are automatically exempt from these badword checks. Syntax:

SET <#channel> BLOCKBADWORDS ON|OFF

Example:

/msg ChanServ SET #sailors BLOCKBADWORDS ON

SET EMAIL

The SET EMAIL command sets the email address associated with a channel. Syntax:

SET <#channel> EMAIL [email]

Example:

/msg ChanServ SET #chat EMAIL some@email.address

SET ENTRYMSG

The SET ENTRYMSG command sets a message sent to all users joining the channel. Syntax:

SET <#channel> ENTRYMSG [message]

Example:

/msg ChanServ SET #support ENTRYMSG Welcome to #support.

SET FANTASY

The SET FANTASY command enables or disables ChanServ fantasy commands. Syntax:

SET <#channel> FANTASY ON|OFF

Example:

/msg ChanServ SET #chatspike FANTASY ON

SET GAMESERV

The SET GAMESERV command allows gaming services to be used in the channel. Syntax:

SET <#channel> GAMESERV ALL|VOICE|OP|OFF

Example:

/msg ChanServ SET #foo GAMESERV VOICE

SET GUARD

The SET GUARD command allows ChanServ to join your channel. Syntax:

SET <#channel> GUARD ON|OFF

Example:

/msg ChanServ SET #atheme GUARD ON

SET KEEPTOPIC

The SET KEEPTOPIC command enables topic retention and restoration. Syntax:

SET <#channel> KEEPTOPIC ON|OFF

Example:

/msg ChanServ SET #foo KEEPTOPIC ON

SET LIMITFLAGS

The SET LIMITFLAGS command limits the power of the +f flag. Syntax:

SET <#channel> LIMITFLAGS ON|OFF

Example:

/msg ChanServ SET #foo LIMITFLAGS ON

SET MLOCK

The SET MLOCK command enforces a set of modes on the channel. Syntax:

SET <#channel> MLOCK [modes]

Examples:

/msg ChanServ SET #foo MLOCK +nt-lk

SET NOSYNC

The SET NOSYNC command disables automatic syncing of channel status. Syntax:

SET <#channel> NOSYNC ON|OFF

Example:

/msg ChanServ SET #foo NOSYNC ON

SET PREFIX

The SET PREFIX command customizes the fantasy trigger for your channel. Syntax:

SET <#channel> PREFIX [prefix]

Examples:

/msg ChanServ SET #foo PREFIX '

SET PRIVATE

The SET PRIVATE command hides channel information from other users. Syntax:

SET <#channel> PRIVATE ON|OFF

Example:

/msg ChanServ SET #foo PRIVATE ON

SET PROPERTY

The SET PROPERTY command manipulates channel metadata. Syntax:

SET <#channel> PROPERTY <name> [value]

Example:

/msg ChanServ SET #atheme PROPERTY URL http://www.atheme.org/

SET PUBACL

The SET PUBACL command allows the channel access list to be publicly visible. Syntax:

SET <#channel> PUBACL ON|OFF

Example:

/msg ChanServ SET #foo PUBACL ON

SET RESTRICTED

The SET RESTRICTED command restricts access to the channel to users on the access list. Syntax:

SET <#channel> RESTRICTED ON|OFF

Example:

/msg ChanServ SET #snoop RESTRICTED ON

SET SECURE

The SET SECURE command prevents unauthorized users from gaining operator status. Syntax:

SET <#channel> SECURE ON|OFF

Example:

/msg ChanServ SET #foo SECURE ON

SET TOPICLOCK

The SET TOPICLOCK command restricts who can change the topic. Syntax:

SET <#channel> TOPICLOCK ON|OFF

Example:

/msg ChanServ SET #foo TOPICLOCK ON

SET URL

The SET URL command sets the channel URL. Syntax:

SET <#channel> URL [url]

Example:

/msg ChanServ SET #foo URL http://example.com

SET VERBOSE

The SET VERBOSE command notifies the channel about access list modifications. Syntax:

SET <#channel> VERBOSE ON|OPS|OFF

Example:

/msg ChanServ SET #foo VERBOSE ON