ChanServ Commands

Set

Mlock

-
-ChanServ- Syntax: SET channel MLOCK modes
-
-ChanServ-
-
-ChanServ- Sets the mode-lock parameter for the channel. ChanServ
-
-ChanServ- allows you to define certain channel modes to be always
-
-ChanServ- on, off or free to be either on or off.
-
-ChanServ-
-
-ChanServ- The modes parameter is constructed exactly the same way
-
-ChanServ- as a /MODE command; that is, modes followed by a + are
-
-ChanServ- locked on, and modes followed by a - are locked off. Note,
-
-ChanServ- however, that unlike the /MODE command, each use of
-
-ChanServ- SET MLOCK will remove all modes previously locked before
-
-ChanServ- setting the new!
-
-ChanServ-
-
-ChanServ- Warning: If you set a mode-locked key, as in the second
-
-ChanServ- example below, you should also set the RESTRICTED option for
-
-ChanServ- the channel (see HELP SET RESTRICTED), or anyone entering
-
-
-ChanServ- the channel when it is empty will be able to see the key!
-
-ChanServ-
-
-ChanServ- Examples:
-
-ChanServ-
-
-ChanServ- SET #channel MLOCK +nt-iklps
-
-ChanServ- Forces modes n and t on, and modes i, k, l, p, and
-
-ChanServ- s off. Mode m is left free to be either on or off.
-
-ChanServ-
-
-ChanServ- SET #channel MLOCK +knst-ilmp my-key
-
-ChanServ- Forces modes k, n, s, and t on, and modes i, l, m,
-
-ChanServ- and p off. Also forces the channel key to be
-
-ChanServ- "my-key".
-
-ChanServ-
-
-ChanServ- SET #channel MLOCK +
-
-ChanServ- Removes the mode lock; all channel modes are free
-
-ChanServ- to be either on or off.
-