IRC Documentation · Beginner
PRIVMSG and /msg command: send a message to a person or channel
PRIVMSG carries the text addressed to a nickname or channel. /msg is a command in many clients that constructs this IRC message. "Private" describes the destination; it does not mean end-to-end encryption.
Dialova Team · Verified on
Syntax and Parameters #
PRIVMSG <cible>{,<cible>} :<texte>| Parameter | Meaning |
|---|---|
| target | Nickname or channel, depending on usage and client permissions. |
| text | Non-empty content. The colon introduces the last parameter containing spaces. |
Commented Example #
C: PRIVMSG Bob :Bonjour Bob !
S: :Alice!alice@cloak.example PRIVMSG Bob :Bonjour Bob !
C: PRIVMSG #atelier :Bonjour tout le monde !Nicknames, 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 |
|---|---|
| PRIVMSG | Message received by the recipient or authorized members. |
| No universal acknowledgement | The absence of an error is not proof of delivery. Echo to sender depends notably on echo-message. |
| Error | Typical Cause |
|---|---|
| 401 | Nickname or target not found. |
| 404 | Sending prohibited to this channel. |
| 411 / 412 | Recipient or text missing. |
Rights, Compatibility, and Precautions #
A moderated channel, a ban, a private message policy, or anti-spam protection may prevent delivery. Extensions and certain services add network-specific errors.
TLS protects the connection to the server, not the content with respect to the server. Dialova links, files, or voice messages are provided by additional application layers; they are not universal PRIVMSG functions.
Frequently Asked Questions #
Is /msg sent as-is to the server? Usually not: the client translates it into PRIVMSG. Aliases depend on the software.
Will my offline interlocutor receive the text? This depends on account settings, histories, and network services. The base protocol does not provide a universal mailbox.
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