Home Forums Archives ChanServ /chanserv help set mlock

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #476
    Dave
    Keymaster
    Scandinavia, WI

    Syntax: /chanserv SET #roomname MLOCK modes

    Sets the mode-lock parameter for the room. ChanServ

    allows you to define certain room modes to be always

    on (or off). The modes that can be locked are i, k, l,

    m, n, p, s, and t; each of these modes can be locked on, locked off, or not locked. 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.

    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!

    Examples:

    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.

    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”.

    SET #channel MLOCK +

    Removes the mode lock; all channel modes are free

    to be either on or off.


    Nothing rhymes with Cindy Crawford after 9 coronas...
Viewing 1 post (of 1 total)
  • The forum ‘ChanServ’ is closed to new topics and replies.