Modes - or more specific channel and/or user modes - are settings available to specify the usage of your channel.
If we compare our IRC channel with an apartment equipped with air conditioning, the 'Modes' would be different temperature settings on that air condition, that you can choose to make the room fit your personal preferences and likings.
Back to the IRC, these modes allow you to prevent certain actions or behaviour if you are a channel operator (mostly described with an @ in the chan for our mIRC users). This way, people may be held outside the room, be forced to register with the network before joining, be hidden after join .... etc etc.
For the usermodes, the specifications mostly allow you 'advanced' security features - for further details, please take a look below.
You can set usermodes with
/mode <yournick> +<modes>
Also you can use the following command for mIRC
//mode $me +<modes>
And to remove all you need to type a - instead of a +.
/mode <yournick> -<modes> //mode $me -<modes>
The following usermodes are available for all users:
- Mode: +i
- This mode makes you "invisible". The purpose of this mode is, that you are not visible on /names or /who lists for normal users, if you are not in one of the channels they are staying on as well.
- Mode: +d
- This mode makes you 'deaf'. You won't see any messages written in all of your channels. This means NO MESSAGES at all! Normally, this one is only useful for bots, not using a channel-trigger and being commanded by /msg BOT COMMAND. You may be contacted via queries though.
- Mode: +x
- This mode hides your real host. Instead of email@example.com you will get test@Account.user.OnlineGamesNet. This mode is only effective if you're authed. You CAN'T disable this mode again.
- To set yourself invisible and also hide your real host type :
''/mode <yournick> +ix''
- To set yourself deaf and visible again type :
''/mode <yournick> +d-i''
Note that you can only use Channelmodes if you have Operator-Status (@)
You can set channelmodes with
/mode <#channel> +<mode> [parameter]
And remove them with
/mode <#channel> -<mode>
Similar to the Channelmodes you can look up the ChanServ Actions
Also you can add and remove modes in one command
/mode <#channel> +<mode> -<mode> [parameter]
The following channelmodes are available:
- Mode: +n
- This mode ensures that you can only write messages to a channel when you are inside the channel.
- Mode: +t
- This mode determines that you can only change the topic, when you're chanop (+o).
- Mode: +p/+s
- These modes define, that you can't see the channel in a /whois - unless you're inside this channel as well. The difference between p and s is, that you can find a "p"-channel with /list but not an "s"-channel. Only one of these modes can be set to a channel at the same time.
- Mode: +m
- This mode arranges that you can only write messages inside the channel, when you're voiced (+v) or opped (+o).
- Mode: +M
- With +M set, you prevent the usage of messages sent to multiple channels (both, using "msg #chan1,#chan2,..." and also sending the same message to multiple channels via scripts) in your channel.
- Mode: +l <limit>
- This mode sets the maximum number of users, who may be in the channel at the same time. An invite (e.g. from ChanServ) overrides this limit.
- Mode: +k <password>
- This mode sets a password for the channel. All users who want to join the channel have to use /join #channel <password>. An invitation (e.g. from ChanServ or an opped user inside the chan) bypasses the password.
- Mode: +i
- This mode determines, that you can only join a channel, when you've been invited. Only chanops can invite users. Of course ChanServ can invite, too (Look at INVITEME).
- Mode: +C
- This mode sets that no one can send CTCP-actions to the channel. NO ONE!
- Mode: +c
- This mode sets that no one can use the mIRC-Colortags anymore. NO ONE!
- Mode: +r
- This mode sets that you can only join a channel, if you are authed with AuthServ. An invite (e.g. from ChanServ) overrides this mode.
- Mode: +D
- This mode sets that joins and parts will be shown, only if the user says something they will be voiced/oped. Helpful in big channels. It is used for classes.
- Mode: +d
- This mode will be set by the server if you remove mode +D and there are still users in the channel whose join wasn't shown. Ops can't disable this mode. It will be disabled automatically if no "invisible" users are in the channel anymore.
- Mode: +o <nick>
- This mode gives a user op. From now on they will have an @ on their nick and operator rights in the channel (kicking, modes, etc.).
- Mode: +v <nick>
- This mode gives a user voice. From now on they will have a + on their nick and can also send messages in the channel, if the channel is moderated (+m) or when they are banned (+b).
- Mode: +b <banmask>
- This mode bans a specified mask from a channel. All users, who apply to this mask can't join or speak anymore. Only if they are voiced or opped. The banmasks look like this: nick!user@host and they can contain wildcards. An invite (e.g. from ChanServ) overrides this ban.
- Mode: +z
- This mode can only be set by ChanServ. It reassures that noone will be opped/voiced while ChanServ is absent (e.g. after an update or during a NetSplit). So channel takeovers or netrides will be avoided.
/mode #channel +nt
- Will set Mode +n and +t so only ops can set a topic and no external messages can be displayed.
/mode #channel +sntk password
- Will set Mode +s, +n, +t and +k so only ops can set a topic and no external messages can be displayed. Furthermore +s sets the Channel secret and +k sets the given password.
/mode #channel +snti-k
- Will set Mode +s, +n, +t, +i and remove +k. In this configuration only ops can set a topic and no external messages can be displayed. Also +s sets the Channel secret and +i sets it to "invite only". Mode k is removed.
/mode #channel +oo-o+v Nick1 Nick2 Nick3 Nick4
- Will give operator status to Nick1 and Nick2, remove operator status from Nick3 and give voice to Nick4.
/mode #channel +ntpmDvvv Nick1 Nick2 Nick3
- Will set Mode +n, +t, +p, +m and +D. That means no external messages will be displayed and the topic can only be set by ops. Also the Channel will set private (hidden from the whois), moderated (only voiced users can speak) and Join and Parts will be hidden. Nick1, Nick2 and Nick3 will get voice so they can talk.
/mode #channel -ntispmcCrDdkl
- Will remove all of the given modes.
/mode #channel -v+b Nick1 Nick1
- Will remove voice from Nick1 and ban him. So he won't be able to speak anymore