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