Below, is an example of how the ChanServ command may work on the IRC server. Note that not every IRC server uses the same software or settings, and this command may operate differently or not at all, depending on the server's configuration.
/msg chanserv help or /chanserv help
The above commands would execute display the help screen in the main server window in IRC displaying all the available commands ChanServ can do.
/msg chanserv register #channel password description
Above is an example of how you would register a channel with the IRC server. For this command to work, you must have already registered your nick with the nickserv command. In this example, replace "#channel" with the name of the channel you want to register (keep the #). Replace password with the password you want to use for the channel, and finally the description of the channel.
/msg chanserv access #channel add user level
Above is an example of how you can set other users to different levels allowing other users to help control your channel. In the above example, replace "#channel" with the registered channel and "user" with the name of another user who's registered with nickserv. The final entry "level" is used to denote user level, with 10 being the highest and 0 being the lowest. Typing "/msg chanserv help access levels" displays a listing of the levels and what they mean.
/chanserv akick #computerhope add *!*@*computerhope.com Not allowed in chat
In the above example, this command would add an auto kick for any user coming from computerhope.com with a message "Not allowed in chat".