Nuclide
Software Development Kit for id Tech
motd.h File Reference

Go to the source code of this file.

Macros

#define MOTD_FILE   autocvar_motdfile
 
#define MOTD_LINES   32
 Hard-limit to how many lines are allowed within a message of the day. More...
 

Functions

void MOTD_LoadDefault (void)
 Called on the server to load the default 'message of the day' file. More...
 
void MOTD_LoadFromFile (string)
 Called on the server to load a specific 'message of the day' file. More...
 
void MOTD_Init (void)
 Called by CSQC_Init() on the client game and by initents() on the server game to set up a networked 'message of the day'. More...
 
string MOTD_GetTextBody (void)
 Returns the full text body of the 'message of the day' that is on the server. More...
 
int MOTD_GetLineCount (void)
 Returns how many individual lines are present in the message of the day. More...
 

Variables

var string autocvar_motdfile = "motd.txt"
 

Macro Definition Documentation

◆ MOTD_FILE

#define MOTD_FILE   autocvar_motdfile

Variable Documentation

◆ autocvar_motdfile

var string autocvar_motdfile = "motd.txt"