User set modes on other users
q <nickname> = Gives Owner status to the user, which is typically the highest type of power a user can give to another user on IRCd servers. Owners usually get to use the services of ChanServ. These users are usually also able to use the /kill command.
o <nickname> = Gives Operator/Op status to the user. This limits the person on what certain modes which they are able to set. Typically only +o, +h and +v usermodes, and other general room modes.
h <nickname> = Gives HalfOp/Help status to the user (Limited op access). Halfop users are allowed to kick other halfop / non op users from the room, but cannot set op on other users.
v <nickname> = Gives Voice to the user (May talk if chan is +m / spectated).
b <nick!ident@host> = Bans the nick!ident@host from the channel. For example, //mode #xttr +b *!*@*host.net. All op users are able to set mode +b/-b.
e <nick!ident@host> = Overrides a ban for matching users. This means for example if you someone sets +b (ban) on you whilst mode +e is set on you, you are able to return to the room. For example;
Code:
on * :op:*:{
if ($opnick == $me) { /mode $chan +e $address($me,4) }
}This will set mode +e on your host mask once you are opped.
Room Modes
(May require +q, +o or +h modes or above to be able to set a certain mode)
c = Block messages containing mIRC colour codes. This is a type of 'strip' feature that mIRC has. Messages which contain colours, such as MP3 player amsgs etc. will not be seen in the room. Similar to mode +S.
f <lines>:<seconds> = Flood protection. Setting this mode, including amount oflines per second allowed will set a flood protection for your room, if a user floods the room, they will automatically be kicked from the room generally by ChanServ. A Ban on the user for flooding can also be specified.
i = If this mode is set, a user must be invited to join the channel.
k <key> = Users must specify key to join the channel. Generally used for private rooms.
l <number of max users> = Specifies the amount of users limited to join the channel. There does not have to be a room limit on IRCd servers.
m = Moderated channel (only +vhoaq set users may speak in the channel)
n = Users outside the channel can not send PRIVMSGs to the channel. PRIVMSGs are generally sent if a user has been banned from a channel, they will generally PRIVMSG a user in the channel from outside the channel, asking to re-enter.
p = Private channel. Room will not be seen on /list.
r = The channel is registered (services only allowed to set the mode)
s = Secret channel. Generally the same as Private channel (+p)
t = Only +hoaq may change the topic. A non opped user may not change the topic if this mode is set.
z = Only Clients on a Secure Connection (SSL) can join.
A = Server/Net Admin may only join the channel (Settable by Admins only).
C = No CTCPs allowed in the channel.
D = No channel notices allowed in the channel.
G = Filters out all Bad words/profanity in messages with <censored>. Words can be added through ChanServ.
M = Must be using a registered nick (+r) to talk in the channel.
K = /KNOCK is not allowed.
L <channel 2> = Channel link (If +l is full, the next user will auto-join a second channel set). May only be set by +q users.
N = No Nickname changes are permitted in the channel.
O = IRC Operator only channel (Settable by IRCops only).
Q = No kicks allowed within the channel.
R = Only registered (+r) users may join the channel. All non-registered nicks will have to register their nicknames before being able to join.
S = Strips mIRC color codes. Similar to mode +c.
T = NetAdmin only channel (Settable by NetAdmins only).
V = /INVITE is not allowed. Users cannot invite another user into the channel if this mode is set.
X = No oper-overriding permitted in the channel (Settable by NetAdmins only).
Y = Services Admin only channel (Settable by Services Admins only).
u = Auditorium mode /names and /who #channel only show channel ops. Same mode as to what MSN's Helpdesk and I-desk channels used.