IRC Flags
From Planetarion Wiki
Jump to navigationJump to search
IRC flags can affect either users of channels and control much of the operation of an irc network.
User flags
User flags, user modes or umodes are set on a client by client basis. Generally, they control a client's interaction with the nework. To set user modes use:
/mode username mode
for example /mode mynick +i
Mode | Name | Description |
---|---|---|
d | Deaf | The client doesn't see channel messages. Personal messages work as normal |
i | Invisible | The client doesn't show on /whois unless they share a channel with the client making the request |
o | Oper | The client gains oper. Being an oper gives access to things such as kill and gline. |
s | Server Notices | Sets the level of server notices that the client receives. Generally only useful for opers. |
w | Wallops | Sets whether the client receives wallops |
k | Services | If set the client is immune to kicks, kills and pretty much everything thrown at it. This is usually only set on network services. |
g | Server Debug | Sets whether the client receives server debug messages. Generally only useful for opers. |
x | Hidden Hostmase | Changes the client's hostmask to registerednick.users.netgamers.org. Requires that the client is logged in to channel services. |
As quite a few user modes are only useful to opers those of importance to standard users are denoted in bold. Most users set mode +ix upon joining the network.
Channel Flags
Channel flags, channel modes or cmodes control how a channel operates. Some of them may affect specific users on a channel. To set channel modes use:
/mode #channelname modestring
for example
/mode #mychannel +k
Mode | Name | Usage | Description |
---|---|---|---|
b | Ban | +b Hostmask | Means that noone matching that hostmask can join the channel. Anyone matching that hostmask already in the channel is unable to speak unless +o or +v |
i | Invite Only | +i | Means that anyone wishing to join the channel must be invited by an op in the channel. |
k | Keyed | +k key | Means that anyone wishing to join the channel must specify the key within the join command. |
l | Limit | +l integer limit | Means that only limit clients are allowed in the channel. |
m | Moderated | +m | Means that only +o and +v clients can speak in the channel. |
n | No External Messages | +n | Means that only clients in the channel can speak in it. |
o | Op | +o nick | Gives ops to nick. |
p | Private | +p | Means that the channel does not show up on a user's whois. |
s | Secret | +s | Like +p, but also means that the channel doesn't show up on /list. |
t | Ops Only Topic | +t | Means that only ops can change the topic. |
v | Voice | +v nick | Gives voice to nick. |
r | Registered | +r | Means only users logged in to a registered nick can join the channel |
c | Colours | +c | Any lines containing colour codes are blocked from the channel |
C | CTCPS | +C | Any CTCPs are blocked from the channel, with the exception of emotes. |
S | Strip | +S | Any colour codes are stripped from lines in the channel. |
T | Multi Target | +T | Any lines which are said in more than one channel are blocked from this channel. |