ChanServ

From HybridIRC Wiki
Revision as of 13:03, 8 November 2026 by Nero (talk | contribs)
Jump to navigation Jump to search

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 strings that every word in a channel will be checked against (if BLOCKBADWORDS is set). The ACTION parameter can be: KICK, WARN, BAN, KICKBAN, or (if your IRCd supports it) QUIET.

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^

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

AUTOVOP

The SET AUTOVOP command automatically gives channel voice to users.

Syntax:

SET <#channel> AUTOVOP ON|OFF

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 (NOT 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

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

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

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.

FANTASY

The SET FANTASY command enables or disables ChanServ fantasy commands.

Syntax:

SET <#channel> FANTASY ON|OFF

Example:

/msg ChanServ SET #chatspike FANTASY ON

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

GUARD

The SET GUARD command allows ChanServ to join your channel.

Syntax:

SET <#channel> GUARD ON|OFF

Example:

/msg ChanServ SET #atheme GUARD ON

KEEPTOPIC

The SET KEEPTOPIC command enables topic retention and restoration.

Syntax:

SET <#channel> KEEPTOPIC ON|OFF

Example:

/msg ChanServ SET #foo KEEPTOPIC ON

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

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

NOSYNC

The SET NOSYNC command disables automatic syncing of channel status.

Syntax:

SET <#channel> NOSYNC ON|OFF

Example:

/msg ChanServ SET #foo NOSYNC ON

PREFIX

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

Syntax:

SET <#channel> PREFIX [prefix]

Examples:

/msg ChanServ SET #foo PREFIX '

PRIVATE

The SET PRIVATE command hides channel information from other users.

Syntax:

SET <#channel> PRIVATE ON|OFF

Example:

/msg ChanServ SET #foo PRIVATE ON

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/

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

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

SECURE

The SECURE command prevents unauthorized users from gaining operator status.

Syntax:

SET <#channel> SECURE ON|OFF

Example:

/msg ChanServ SET #foo SECURE ON

TOPICLOCK

The SET TOPICLOCK command restricts who can change the topic.

Syntax:

SET <#channel> TOPICLOCK ON|OFF

Example:

/msg ChanServ SET #foo TOPICLOCK ON

URL

The SET URL command sets the channel URL.

Syntax:

SET <#channel> URL [url]

Example:

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

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