How do I LOCK certain channel modes?

Home / Help / ChanServ FAQs / How do I LOCK certain channel modes?

Using ChanServ to LOCK channel MODEs

Syntax

/CS MODE channel LOCK {ADD|DEL|SET|LIST} [what]
/CS MODE channel SET modes
/CS MODE channel CLEAR [what]

The MODE LOCK command allows you to add, delete, and view mode locks on a channel. If a mode is locked on or off, services will not allow that mode to be changed.

SET clears all existing mode locks and sets a new one. ADD and DEL modify the existing mode lock.

Example: Lock a mode

/CS MODE #channel LOCK ADD +bmnt *!*@*aol*

MODE SET command

Set modes through services. Wildcards * and ? may be used for list and status modes.

/CS MODE #channel SET +v *           (Voice everyone)
/CS MODE #channel SET -b ~c:*         (Clear extended bans starting with ~c:)

MODE CLEAR command

Easy way to clear modes. what may be: bans, excepts, inviteoverrides, ops, halfops, voices. If omitted, all basic modes are removed.