The RPL_MOTD (372) numeric is part of the Message of the Day (MOTD) reply, and is also sent during the initial registration burst when new users successfully connect to the network. It gives users the content of the MOTD set on the server.


Format

:server 372 <nick> <line>
  • <nick>: Nickname of the connecting user.
  • <line>: Content of this MOTD line.

It’s typical for <line> to start with a dash and a space, as shown in the example(s) below. These lines MAY also be wrapped to 80 characters by the server, though clients MUST be able to handle MOTD lines of any size up to the maximum IRC line length. In addition, <line> MAY contain formatting codes.


Examples

:irc.example.com 375 dan :- irc.example.net Message of the day -
:irc.example.com 372 dan :- 
:irc.example.com 372 dan :- 
:irc.example.com 372 dan :-    EEEE                       l       N   N       t   *_
:irc.example.com 372 dan :-    E                          l       NN  N      ttt
:irc.example.com 372 dan :-    EEE  x x  aaa  m m m  p p  l  eee  N N N  eee  t
:irc.example.com 372 dan :-    E     x  a  a  m  m m p  p l e e   N  NN e e   t
:irc.example.com 372 dan :- _* EEEE x x  aa a m    m p p  l  eee  N   N  eee  tt
:irc.example.com 372 dan :-                          p
:irc.example.com 372 dan :- 
:irc.example.com 372 dan :- Welcome to ExampleNet!
:irc.example.com 372 dan :- 
:irc.example.com 372 dan :- Try not to spam us too much please!
:irc.example.com 372 dan :- 
:irc.example.com 376 dan :End of /MOTD command

A typical example of the RPL_MOTD message.


Compatibility

Unreal InspIRCd ircd-seven Charybdis UndernetIRCd Bahamut
Sent by:

Contributors to this page: Daniel Oaks

You can edit and contribute changes to this page on GitHub here.

Latest change: 29 November 2018.