This command forbids the use of a nickname, channel name, or email address. Wild cards can be used in any of the fields to be forbidden, as can perl compatible regular expressions. Forbids can be added, deleted, or listed. Forbids cannot be cleared. If you want to empty the forbid list for some reason, you will have to do this one at a time. The commands for adding, deleting, and listing forbids will be detailed below.
This adds a forbid. To permanently forbid the channel #channel from being registered for the reason of "Past terms of service violations", you can use this command:
/msg OperServ forbid add #channel +0 Past terms of service violations
Note that this will allow the channel to exist. People will be able to join, part, and even get operator status. The channel can be run this way, but it will be impossible for anyone to register until the forbid is removed or expires. To permanently prevent the use of the channel, you will need to use other methods. Consult your other IRC operators on how to do this.
This removes a forbid. To remove the above forbid, use this command:
/msg OperServ forbid del #channel
This lists all forbids matching the specified pattern. If no pattern is specified, or if you use *, then all forbids are listed. To list all forbids against channels with the letter B in it, you can use this command:
/msg OperServ forbid list #*B*