|
|
|
Channel Modes
User Modes
- Channel modes
Mode "a" - IRC Administrators only
Assuming enabled, This can be set only by administrators, and allows
only them to join a channel.
Mode "b" - Ban
This mode is used to prevent a user matching the mask that has been
banned from joining the channel. There are three effective ban masks
that wildcard different portions of the nick's fulladdress:
*!*@host.domain
*!*@12.34.56.78 This bans the person until they re-dial in to their ISP
(thus changing their host). If they have a static IP address, it bans
them until the ban is lifted. This is generally sufficient to make them
stop their behaviour. (In a way, it's almost like a self-imposed G-line
in your channel)
*!*userid@*.domain
*!* userid@12.34.56. * This bans
just that one person from that ISP. Dialing in again won't affect this
ban, but changing userid's will. Normally, people don't change their
userid very often, so this ban is quite effective.
*!*@*.domain
*!*@12.34.56.* This is a site ban; it will ban everyone from that ISP.
This is most useful when you have a problem user from a certain ISP
(domain) that keeps changing their nick or userid and keeps dialing back
in. However, it also bans everyone else from that domain as well.
NOTE: Banning someone by their IP will prevent them from rejoining
regardless of the address used; what this means for operators is that if
someone is using virtual hosts that all are from the same actual IP,
banning their IP will prevent them from entering the channel, regardless
of what hostname it resolves to.
Mode "e" - Exception
Exceptions are like a special retnal scan that allows you to join a
channel if you match, even if you also match a ban (+b). It uses mask
just like +b (above) but instead of keeping that person out, they let
them in as an exception.
Mode "i" - Invite Only
This mode allows makes the channel reject joins. In order for someone to
join the channel, they have to be invited in by an operator in the
channel or services such as X2 (or have the key, see +k below). This
mode is normally used for private meetings where you don't want the
public involved. An operator (@) in the channel can type /invite nick
#channel.
Example: /invite bob #privatechat
Mode "k" - Keyed
This mode puts a key (or password) on the channel. You must know the key
to get in. To use it, you type /join #channel key. For example, if my
channel's key is set to "thisisthepassword", and one were banned, they
would have to "/join #channel thisisthepassword" to get in. The key mode
can only be removed or changed by using the current key (/mode -k
thisisthepassword).
To add/change a key (+k) to a channel:
/mode #chan +k key
Example: /mode +k thisisthepassword
To remove a key (+k) from a channel:
/mode #chan -k key
Example: /mode #chan -k thisisthepassword
To join a channel that is keyed (+k):
/join #chan key
Example: /join #privatechat thisisthepassword
Mode "l" - Limit
A channel can have a limit to the number of users that can be in it.
This mode requires a parameter to set it and number following it
(example: /mode +l 15). Once the limit is reached, no more users will be
allowed in the channel until there is fewer users, or they get an
invite. If the number you try to limit the channel to is 0, the IRCd
will automatically set it to 1. This mode is unset by unsetting the mode
with no parameter (/mode -l). This method proves useful in preventing
floodbots, but is not suggested for large channels or channels that have
user counts that may fluctuate unless you get a bot that keeps it
updated.
To limit the number of users in a channel:
/mode #chan +l
Example: /mode #chan +l 15
To remove the limit on the number of users in a channel:
/mode #chan -l
Mode "m" - Moderated
A moderated channel restricts normal users from sending text into the
channel. Only the ops (+o) and users that are voiced (+v - see Mode "V"
later on in this article for information) can talk in the channel. This
has two main uses: silencing flooders in the channel, and creating a
lecture-type situation (like a classroom) where the flow of text from
the lecturer isn't altered by the users in the channel. If used with +k
(key), people who join with the key will automatically get +v so they
can talk when they join.
Also, if a channel is moderated, clients are blocked from changing their
nicks while in that moderated channel.
Mode "M" - Moderate unregistered
A M moderated channel restricts normal users who have not authed to
AuthServ (or using the /auth command) from sending text into the
channel. Only the ops, halfops, voiced users, and registered users
(+o/+h/+v or registered) can talk in the channel.
Also, if a channel is moderated, clients are blocked from changing their
nicks while in that moderated channel.
Mode "r" - Registered users only
Setting +r makes it so that users who have not used /auth to
authenticate to AuthServ cannot join your channel.
Mode "n" - No external channel messages
This mode prevents text from being sent into the channel from a nick
that is not in the channel. In most channels, this is very distracting
because you cannot reply to what was said - they are not in the channel
to see your reply. Setting this mode is the default for most people
Mode "o" - Channel Operator
This is how someone is manually opped (without using Services to op
them). This is the command that puts the @ beside someone's nick. It
gives them the power to change modes on the channel and kick/ban people
from the channel.
VERY IMPORTANT: Be careful who you make an op in your channel, because
even if you are the founder, they can still kick and ban you! (unless
services are in the channel.) See halfops for a safer alternative.
To op someone in the channel, type"
/mode #chan +o nick
Example: /mode #channel +o bob
To de-op someone in the channel, type"
/mode #chan -o nick
Example: /mode #channel -o bob
Mode "h" - Channel Halfops
This is how someone is manually half-opped (without using Services to
half-op them). This is the command that puts the % beside someone's nick
(in some clients). It gives them the power to change modes and topic on
the channel and kick/ban people from the channel BUT halfops cannot kick
full ops (+o's)
To hop someone in the channel, type"
/mode #chan +h nick
Example: /mode #channel +h bob
To de-hop someone in the channel, type"
/mode #chan -h nick
Example: /mode #channel -h bob
Modes "p" and "s" - Private and Secret
The channel flag 'p' is used to mark a channel "private" and the channel
flag 's' to mark a channel "secret". Both properties are similar and
conceal the existence of the channel from other users. The only
difference is that private channels show up as *private* while secret
channels don't show up at all. You cannot set both at the same time.
This means that there is no way of getting this channel's name from the
server, and noone can tell (from the WHOIS command) that you are in it.
These modes are good for avoiding spammers and unwanted users, but does
not keep them from entering the channel if they already know it exists.
Example:
/mode #chan +p (for private)
/mode #chan +s (for secret)
Mode "t" - Only ops can change the Topic
This mode restricts changing the topic to only the channel operators
(Services can still over-ride this). Mainly, this is used to keep the
topic in line. This mode in addition to +n is generally set by everyone.
Example:
/mode #chan +t
Mode "v" - Voice user(s) in the channel
This command allows a normal user in the channel to send text into a
moderated (+m or +M) channel. In channels that are not moderated, it is
frequently used as a status indicator for that nick. In help channels,
for instance, it's used to indicate users who help and are "recognized"
as helpers by the staff of the channel, perhaps channel operators in
training. In chat channels, it might indicate a favored user. In some
channels, it is used to indicate gender.
To voice someone in the channel, type
/mode #chan +v nick
Example: /mode #chat +v bob
To de- voicesomeone in the channel, type
/mode #chan -v
Example: /mode #chat -v bob
Modes "c" and "C" - No colors/ctcps
Setting +c blocks mIRC color codes from your channel, and +C blocks CTCP
messages (except for /me's). The user will get a message in their status
that says they cannot send to channel.
Mode +S - Strip control chars
This is similar to +c, only instead of telling the user they cannot send
to channel, the color codes are just automatically removed from the
messages.
Modes +L and +p - No modes in /list, No /List
Setting +p in your channel stops it from appearing in the /list but is
not secret or private when people /whois you. Its good for cutting down
on spammers and annoying transients.
Setting +L stops the channels modes from showing in the /list.
Mode +O - IRC Operators Only
This can be set only by ircops, and allows only them to join a channel.
Mode +Q - Strip quit/part message reasons
This mode removes the sometimes annoying part messages and quit
messages. (You still see the part or quit, just not the message attached
to it). This is done because many scripts use these messages to spam and
its annoying.
Mode +T - No amsgs
This mode stops the channel from being a target of /amsg, a
mass-messaging feature of ircu. Use this if you are frquently vulnerable
to /amsg spam.
Mode +z - Persistant
Keeps the channel alive even when everyone has left. Bans, excepts,
topic, etc will be kept. Any people joining will not be opped
automatically if the channel is empty. This mode can only be set by
services.
Mode +Z - SSL only
This mode makes it so that only those connected via SSL can join
(without an invite.) Note you must be connected with SSL to change this
mode.
- User modes
User Modes
In addition to Channel Modes, there are also a useful User Modes that
can help you while you run your IRC Network. These modes are set by
typing "/mode yournick". The
User Modes are as follows:
Mode "a" - Admin (Requires F:Line)
Assuming enabled, If your O:line contains an 'a' flag then when you oper
you will be marked as an admin and +a will be set on you.
Mode "B" - Bot (Requires F:Line)
This will mark you as a bot in WHOIS output on yourself.
Mode "d" - Deaf
When set you cannot see any channel notices or messages. You can however
recieve private messages and notices.
Mode "f" - Fakehost
This mode can only be set by services. When you get a fakehost +f is set
on you along with the fakehost. You will not see this change on you.
Mode "g" - Debug Notices
This mode is an oper only mode. If set you can see debug notices if
debugging is enabled.
Mode "I" - Hide idle time (Requires F:Line)
When other users whois you, they will not see you idle time (Oper Mode).
Mode "i" - Invisible
This mode makes you "invisible" on the server. For example, if you do a
"/lusers" in the server window, it will say something like "There are
681 users and 330 invisible on 11 servers". All users that have +i set
will show up under the "invisible" users.
This mode also allows you to hide from a /WHO or a /NAMES command.
However, you can still be found if the user knows your nick, or is in a
channel with you.
To set yourself invisible, type the following in your server window:
/mode yournick +i
or sometimes
/umode +i
Mode "k" - Service
This mode can only be set by services on U:Line'd servers or Opers who
have +X set. This mode will mark you as a service. You cannot be kicked
from channels, deoped, killed, etc.
Mode "n" - Hides channels (Requires F:Line)
When other users whois you, they will not see the channels you are in
(Oper Mode).
Mode "O" - Local oper
If you are a local oper in your O:Line then you will get this mode when
you oper and be marked locally as a local oper.
Mode "o" - Global oper
If you are a global oper in your O:Line then you will get this mode when
you oper and be marked locally as a global oper.
Mode "R" - Messages from registered users only
This mode will block all private messages and notices from users who are
not logged into services (those who dont have an account set (AC)).
Mode "S" - Sethost
This mode can only be set by services. When you login to a S:Line +S is
set on you along with the S:Line data. You will not see this change on
you.
Mode "s" - Server notices
Along with a notice mask this allows you to control what notices you
recieve. Refer to the Snomask documentation for further information.
Mode "W" - See whois attempts (Requires F:Line)
Assuming enabled when users whois you, you will get a notice alerting
you that they just whois'ed you.
Mode "w" - See wallusers
Enabling +w allows you to see communications about the status of the
network from IRCOPS.
Mode "X" - Xtra Oper
Allows you as an oper to do extra things for example set +k on yourself,
override flood limits etc.
Mode "x" - Hide host
Enabling +x when you are logged into a service that supports AC tokens,
for example X3, gnuworld, Causes your hostname to change to
accountname.Users.networkname.org, or to another host if you have had
one setup using a fakehost if your services support it.
|