IRC Documentation · Intermediate
MODE command: read and modify IRC modes
MODE consults or modifies properties of a user or channel. The available letters, their arguments, and the necessary rights depend on the server. You must read the target and network information before interpreting a sequence of modes.
Dialova Team · Verified on
Syntax and Parameters #
MODE <pseudo-ou-salon> [<modes> [<paramètres>...]]| Parameter | Meaning |
|---|---|
| target | Nickname for user modes, or channel name for channel modes. |
| modes | Letters preceded by + or -, for example +m or -m. |
| parameters | Arguments corresponding to modes; some require them always, only on addition, or not at all. |
Commented Example #
C: MODE #atelier +m
S: :Alice!alice@cloak.example MODE #atelier +m
C: MODE #atelier +v Bob
S: :Alice!alice@cloak.example MODE #atelier +v BobNicknames, hosts, and text in this exchange are fictional. The client may display responses in a more readable format than the presented frames.
Possible Responses and Errors #
| Response | Understanding |
|---|---|
| 324 | Common channel modes. |
| 221 | User modes. |
| 367 / 368 | Ban entries and end of list, depending on the request. |
| MODE | Change broadcast to concerned clients. |
| Error | Typical Cause |
|---|---|
| 482 | Insufficient rights on the channel. |
| 472 | Unknown channel mode letter. |
| 501 / 502 | Unknown user mode or modification of another user prohibited. |
Rights, Compatibility, and Precautions #
On many networks, +m restricts speech and +v grants voice to a member. Voice does not equal operator status. Prefixes and rank modes are announced by PREFIX; CHANMODES helps classify the arguments of other modes.
Do not copy a table of modes as a universal standard. The same letter can designate different functions: owner/protect/halfop ranks and their symbols are not present everywhere. The IRCd guides and network rules take precedence.
The 005 ISUPPORT response announces server properties; this is not a CAP negotiation. A client must be able to handle modes it does not know without inventing their effects.
Frequently Asked Questions #
Can I become operator with MODE #channel +o MyNickname? Not without already having the appropriate rights. The command does not grant permissions by itself.
How to view modes without modifying them? Request MODE with the target alone, or a permitted list letter according to the network's documentation.
Sources & Verification
Examples use pseudonyms and fictional domains, except for explicitly documented connection points. Network-specific extensions and settings are noted in the text.
- Modern IRC — spécification du protocole client ↗Source Specification · consulted on 2026-10-29
- RFC 2812 — Client Protocol (2000) ↗Source Historical · consulted on 2026-10-29