From bcd6e78cd3af271674d38d31e8aa02150abe90ba Mon Sep 17 00:00:00 2001 From: "B.Greenham" Date: Sat, 27 Mar 2010 22:42:32 -0400 Subject: [PATCH] Add help for cmode +M, but only for opers. This requires splitting help cmode into different files for users and opers. --- help/Makefile.in | 2 +- help/opers/cmode | 3 ++ help/users/cmode | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 help/users/cmode diff --git a/help/Makefile.in b/help/Makefile.in index 6c487bc..573dd64 100644 --- a/help/Makefile.in +++ b/help/Makefile.in @@ -12,7 +12,7 @@ helpdir= @helpdir@ uhelpdir= ${helpdir}/users ohelpdir= ${helpdir}/opers -SYMLINKS= topic accept cmode admin names links away whowas \ +SYMLINKS= topic accept admin names links away whowas \ version kick who invite quit join list nick oper part \ time credits motd userhost users whois ison lusers \ user help pass error challenge knock ping pong \ diff --git a/help/opers/cmode b/help/opers/cmode index 8ba2eb6..00b8e07 100644 --- a/help/opers/cmode +++ b/help/opers/cmode @@ -41,6 +41,9 @@ NO PARAMETERS: rejoin immediately after being kicked. +K - No repeat messages. Messages that are the same as the last message sent to the channel will be blocked. + +M - Immune. Opers cannot be kicked from the channel. May + be set by opers regardless of channel status. Users + will not see this mode at all. WITH PARAMETERS: +f - Forward. Forwards users who cannot join because of +i, diff --git a/help/users/cmode b/help/users/cmode new file mode 100644 index 0000000..8ba2eb6 --- /dev/null +++ b/help/users/cmode @@ -0,0 +1,76 @@ +MODE <+|-> [parameters] + +CHANNELMODE - DESCRIPTION +------------------------------------------------------------------------ +NO PARAMETERS: + +n - No external messages. Only channel members may talk in + the channel. + +t - Ops Topic. Only opped (+o) users may set the topic. + +s - Secret. Channel will not be shown in /whois and /list etc. + +p - Private. Disables /knock to the channel. + +m - Moderated. Only opped/voiced users may talk in channel. + +i - Invite only. Users need to be /invite'd or match a +I to + join the channel. + +r - Registered users only. Only users identified to services + may join. + +c - No color. All color codes in messages are stripped. + +g - Free invite. Everyone may invite users. Significantly + weakens +i control. + +z - Op moderated. Messages blocked by +m, +b and +q are instead + sent to ops. + +L - Large ban list. Increase maximum number of +beIq entries. + Only settable by opers. + +P - Permanent. Channel does not disappear when empty. Only + settable by opers. + +F - Free target. Anyone may set forwards to this (otherwise + ops are necessary). + +Q - Disable forward. Users cannot be forwarded to the channel + (however, new forwards can still be set subject to +F). + +C - Disable CTCP. All CTCP messages to the channel, except ACTION, + are disallowed. + +D - Disable CTCP ACTION. All CTCP ACTIONs to the channel will + be blocked. + +T - Disable notice. All notices to the channel are disallowed. + +E - No kicks. Chanops will not be able to use /kick on this + channel. + +N - No nickchanges. People on the channel will not be able to + change nick. + +G - Block messages in all caps. Messages that are more than + 50% capital letters will be blocked. + +J - Prevent autorejoin on kick. Users will not be able to + rejoin immediately after being kicked. + +K - No repeat messages. Messages that are the same as the + last message sent to the channel will be blocked. + +WITH PARAMETERS: + +f - Forward. Forwards users who cannot join because of +i, + +j, +l or +r. + PARAMS: /mode #channel +f #channel2 + +j - Join throttle. Limits number of joins to the channel per time. + PARAMS: /mode #channel +j count:time + +k - Key. Requires users to issue /join #channel KEY to join. + PARAMS: /mode #channel +k key + +l - Limit. Impose a maximum number of LIMIT people in the channel. + PARAMS: /mode #channel +l limit + +v - Voice. Allows a user to talk in a +m channel. Noted by +nick. + PARAMS: /mode #channel +v nick + +h - Halfop. Grants channel half-operator status. + PARAMS: /mode #channel +h nick + +o - Op. Grants channel operator status. + PARAMS: /mode #channel +o nick + +a - Admin. Grants channel administrator status. + PARAMS: /mode #channel +a nick + +b - Ban. Prevents a user from entering the channel, and from + sending or changing nick if they are on it, based on a + nick!ident@host match. + PARAMS: /mode #channel +b nick!user@host + +q - Quiet. Prevents a user from sending to the channel or changing + nick, based on a nick!ident@host match. + PARAMS: /mode #channel +q nick!user@host + +e - Exempt. Allows a user to join a channel and send to it even if + they are banned (+b) or quieted (+q), based on a nick!ident@host + match. + PARAMS: /mode #channel +e nick!user@host + +I - Invite Exempt. Allows a user to join a +i channel without an + invite, based on a nick!user@host match. + PARAMS: /mode #channel +I nick!user@host