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.

: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 375 dan :- Message of the day - 372 dan :- 372 dan :- 372 dan :-    EEEE                       l       N   N       t   *_ 372 dan :-    E                          l       NN  N      ttt 372 dan :-    EEE  x x  aaa  m m m  p p  l  eee  N N N  eee  t 372 dan :-    E     x  a  a  m  m m p  p l e e   N  NN e e   t 372 dan :- _* EEEE x x  aa a m    m p p  l  eee  N   N  eee  tt 372 dan :-                          p 372 dan :- 372 dan :- Welcome to ExampleNet! 372 dan :- 372 dan :- Try not to spam us too much please! 372 dan :- 376 dan :End of /MOTD command

A typical example of the RPL_MOTD message.


Contributors to this page: Daniel Oaks

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

Latest change: 14 July 2020.