home *** CD-ROM | disk | FTP | other *** search
- /*
- motd.qc
-
- Part of The Complete Enhanced Teamplay
-
- John Spickes jspickes@eng.umd.edu
-
- $Id: MOTD.QC 1.11 1996/08/17 00:22:51 jspickes Exp $
-
- $Log: MOTD.QC $
- Revision 1.11 1996/08/17 00:22:51 jspickes
- Use the .flag entry FL_MOTDVIEWED instead of .motd float.
-
- */
-
- /*
- ================
- MOTDShow
-
- Display the MOTD.
- ================
- */
- void() MOTDShow =
- {
- /* Servers! Add your motd here! */
-
- sprint(self,"This server uses\n-The Complete Enhanced Teamplay-\nImpulse 25 for current settings.\n");
- sprint(self,"Impulse 26 to redisplay MOTD\n");
- };
-
- /*
- ================
- MOTDCheck
-
- Display the MOTD if needed, and set self.motd to 1.
- ================
- */
- void() MOTDCheck =
- {
- if( !(self.flags & FL_MOTDVIEWED) )
- {
- MOTDShow();
- self.flags = self.flags | FL_MOTDVIEWED;
- }
- };
-
-