Send commands with /msg ChanServ COMMAND or the shorthand /cs COMMAND. You must be identified to NickServ to use ChanServ.
New channel owner? The channel security guide walks you through the basics.

Registration

CommandSyntaxDescription
REGISTER REGISTER <#channel> Register a channel you are currently an operator in. You become the channel founder. /msg ChanServ REGISTER #mychannel
DROP DROP <#channel> Permanently unregister a channel. Founder only. Can't be undone.
INFO INFO <#channel> Show registration details for a channel: founder, registration date, last used, modes. /msg ChanServ INFO #mychannel

Access control

Manage who can do what in your channel using a flag-based access system.

Common flags: +O auto-op, +V auto-voice, +H auto-halfop, +A auto-protect on join. The lowercase versions +o, +v, +h, +a let someone use the matching OP, VOICE, HALFOP and PROTECT commands. +i invite access, +b ban access, +f manage the access list, +q owner access, +F full founder access. Use +* to grant all flags (use carefully). /msg ChanServ HELP FLAGS shows the full list.
CommandSyntaxDescription
FLAGS FLAGS <#channel> [nick] [+/-flags] View or modify channel flags for a user. Omit nick and flags to list current access. /msg ChanServ FLAGS #mychannel Alice +Oo
AKICK ADD AKICK <#channel> ADD <mask> [reason] Add a user or hostmask to the auto-kick list. ChanServ kicks and bans them on join. /msg ChanServ AKICK #mychannel ADD *!*@bad.host not welcome
AKICK DEL AKICK <#channel> DEL <mask> Remove an entry from the auto-kick list.
AKICK LIST AKICK <#channel> LIST List all current auto-kick entries for the channel.
AKICK ENFORCE AKICK <#channel> ENFORCE Immediately kick and ban anyone already in the channel who matches an AKICK entry.

Channel operations

CommandSyntaxDescription
OP OP <#channel> [nick] Give operator status to yourself or another user. /msg ChanServ OP #mychannel
DEOP DEOP <#channel> [nick] Remove operator status from yourself or another user.
VOICE VOICE <#channel> [nick] Give voice status to yourself or another user.
DEVOICE DEVOICE <#channel> [nick] Remove voice status from yourself or another user.
UP UP [#channel] Apply all your access-based status modes at once. Omit the channel to apply in all channels. /msg ChanServ UP #mychannel
DOWN DOWN [#channel] Remove all your status modes at once.
INVITE INVITE <#channel> [nick] Have ChanServ invite you (or another user) into an invite-only channel.
KICK KICK <#channel> <nick> [:reason] Kick a user via ChanServ.
BAN BAN <#channel> <nick> Set a ban on a user via ChanServ.
UNBAN UNBAN <#channel> [nick] Remove bans matching a user's hostmask. Omit nick to remove all bans blocking your own entry.
TOPIC TOPIC <#channel> <text> Set the channel topic via ChanServ. Useful when the channel is +t and you're not opped.
MODE MODE <#channel> <modes> Set channel modes via ChanServ. /msg ChanServ MODE #mychannel +m
ENTRYMSG ADD ENTRYMSG <#channel> ADD <text> Add a message that ChanServ sends to users when they join. Multiple messages are shown in order. /msg ChanServ ENTRYMSG #mychannel ADD Welcome! Please read the rules.
ENTRYMSG DEL ENTRYMSG <#channel> DEL <num> Delete an entry message by number. Use LIST to find the number.
ENTRYMSG LIST ENTRYMSG <#channel> LIST Show all current entry messages.
CLEAR CLEAR <#channel> <what> Bulk-clear channel state. Options: MODES, BANS, OPS, VOICES, USERS. /msg ChanServ CLEAR #mychannel BANS

Channel settings

All SET commands require founder access unless noted.

CommandSyntaxDescription
SET DESC SET <#channel> DESC <text> Set a description shown in INFO.
SET FOUNDER SET <#channel> FOUNDER <nick> Transfer founder status to another registered nick.
SET SUCCESSOR SET <#channel> SUCCESSOR <nick> Set a successor who inherits founder access if your account expires.
SET KEEPTOPIC SET <#channel> KEEPTOPIC ON|OFF Restore the last topic when the channel is recreated after going empty.
SET MLOCK SET <#channel> MLOCK <modes> Lock channel modes so they can't be changed. Prefix with + to force on, - to force off. /msg ChanServ SET #mychannel MLOCK +nt
SET SECURE SET <#channel> SECURE ON|OFF Only users on the access list can receive ops when enabled.
SET SECUREOPS SET <#channel> SECUREOPS ON|OFF Stricter op control. Prevents op status being given to anyone not on the access list.
SET RESTRICTED SET <#channel> RESTRICTED ON|OFF Only users on the access list can join the channel.
SET PERSIST SET <#channel> PERSIST ON|OFF Keep the channel open even when no users are in it.
SET PRIVATE SET <#channel> PRIVATE ON|OFF Hide the channel from ChanServ LIST output.

Common tasks

Quick reference for things you'll actually need to do.

TaskCommands
Make channel invite-only Set it once with MODE, then lock it permanently with MLOCK so it survives restarts. /mode #channel +i /msg ChanServ SET #channel MLOCK +i
Set a channel password Users join with /join #channel password. Remove with /mode #channel -k *. /mode #channel +k yourpassword
Invite someone into +i channel Use ChanServ INVITE if you're not currently opped, or /invite directly if you are. /msg ChanServ INVITE #channel nick /invite nick #channel
Give or remove ops /msg ChanServ OP #channel nick /msg ChanServ DEOP #channel nick
Ban someone and remove later /msg ChanServ BAN #channel nick /msg ChanServ UNBAN #channel nick
Keep channel open when empty Without PERSIST, the channel disappears when the last user leaves and all modes reset. /msg ChanServ SET #channel PERSIST ON
Restrict to access list only Only users with an entry in FLAGS can join. /msg ChanServ SET #channel RESTRICTED ON
Transfer founder to someone else /msg ChanServ SET #channel FOUNDER nick