Debian Codegraph @

help/mode

raw
1 ! $Id: mode,v 1.3 2002-02-19 19:43:28 f Exp $
2 !
3 ! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green,
4 ! and other ircII contributors.
5 !
6 ! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more
7 ! information.
8 !
9 Usage: MODE *|<channel> [+|-]<modechars> [<parameters>]
10 MODE *|<channel> [+|-]b [<nick>[!<user>[@<host>]]]
11 MODE <nick> [+|-]<umodechars>
12
13 Mode command is quite complicated and it allows channel
14 operators to change channel mode, or any user to change
15 their personal mode. For a channel mode, <modechars> is one of
16 the following:
17 i - channel is invite only
18 k <key> - Adds join key <key> to the channel. Keys can added or
19 removed (MODE <channel> -k <key>), but not changed.
20 l <number> - channel is limited, where <number> is the
21 maximum number of users allowed
22 m - channel is moderated (only channel operators talk)
23 n - No MSGs to the channel are allowed
24 from someone outside the channel.
25 o <nick> - Makes <nick> a channel operator
26 p - channel is private
27 s - channel is secret
28 Note: On 2.8 servers you cannot set both +p and +s modes
29 t - topic limits, only the channel operators may change it
30 v <nick> - Gives someone a voice to talk on a moderated channel.
31 b user!nick@host - Adds ban
32 e user!nick@host - Adds ban exception
33 I user!nick@host - Adds need-invite exception (notice uppercase I)
34
35 A + or - sign determines whether the specified mode should be
36 added or deleted.
37 If you supply * as channel name, modes will apply to your current channel.
38
39 The form which takes user!nick@host is special in that
40 it needs specifying a sting of the form nick!user@host.
41 Banning examples:
42 MODE #MyChannel +b *!*@gus.*
43 bans everybody from the channel who is on IRC from any
44 machine whose name is gus.
45 MODE #MyChannel +b netw1z
46 bans anybody using the nickname netw1z.
47 MODE #MyChannel +b *!merklin@*
48 bans anybody whose user name is merklin.
49 MODE #MyChannel +b [email protected]
50 bans the user [email protected] from the channel whenever he
51 is using the nickname "jerk".
52
53 You can list the bans in effect on a channel:
54 MODE #MyChannel b
55 With the same way, you can list invite-exceptions on a channel:
56 MODE #MyChannel I
57 And ban exceptions:
58 MODE #MyChannel e
59
60 The third form of the MODE command allows you to modify your
61 personal parameters. You can precede any combination of the
62 following with + or - (+to switch that mode on, - to switch it off).
63
64 o - IRC operator status. You may not turn this on
65 with mode. To assert operator status, you must use OPER
66 w - Receive WALLOPS (messages directed at all operators.
67 see WALLOPS.
68 s - Receive server notices. This includes KILL notices
69 and notices about what is happening with links
70 to the local server.
71 i - Render yourself invisible. This prevents you from
72 being seen in WHO and WHOIS information, unless
73 somebody specifies your exact nickname with WHOIS.
74 This is quite useful, because it often let's you
75 "idle in peace" without getting harmed by mass
76 advertisers etc.
77
78 Note:
79 Attempting to avoid a ban placed on you may result in
80 forcible removal from IRC or being banned from your server.