cotn25/area/
cotn25/src/
#if defined(macintosh)
#include <types.h>
#else
#include <sys/types.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "merc.h"




int creations_today;
long connections_today;
long logins_today;
int max_on;
int max_ever;
long commands_today;
long socials_today;
long mobdeaths_today;
long mobkills_today;
int pkills_today;



void do_mudinfo(CHAR_DATA *ch,char *argument) 
{
    char buf[MAX_STRING_LENGTH];    

    sprintf ( buf, "\n\r          {gOn {GEotC{g, there are {G%d{g areas which contain {G%d{g\n\r", top_area, top_room );
    send_to_char(buf, ch);
    sprintf ( buf, "          rooms total. Need assistance? Don't worry, EotC has a big help\n\r" );
    send_to_char(buf, ch);
    sprintf ( buf, "          archive, containing {G%d{g helpfiles, easily accessable with the\n\r", top_help );
    send_to_char(buf, ch);
    sprintf ( buf, "          'help' command. If you feel like socializing, you can show lots\n\r" );
    send_to_char(buf, ch);
    sprintf ( buf, "          of emotions, {G%d{g to be exact. For a list of socials, type 'socials'.\n\r", MAX_SOCIALS);
    send_to_char(buf, ch);
    sprintf ( buf, "\n\r          {gSince the last boot, a total of {G%d{g new player%s have created.\n\r", creations_today, creations_today == 1 ? "" : "s" );
    send_to_char(buf, ch);
    sprintf ( buf, "\n\r          Also since the last boot, a total of {G%ld{g connections have\n\r", connections_today );
    send_to_char(buf, ch);
    sprintf ( buf, "          been made to EotC, and {G%ld{g complete logins have been done.\n\r", logins_today );
    send_to_char(buf, ch);
    sprintf ( buf, "\n\r          The max people online at once today was {G%d{g, the most\n\r", max_on );
    send_to_char(buf, ch);
    sprintf ( buf, "          online ever at once was {G%d{g.\n\r", max_ever );
    send_to_char(buf, ch);
    sprintf ( buf, "\n\r          People have been active, executing {G%ld{g command%s and {G%ld{g social%s,\n\r", commands_today, commands_today == 1 ? "" : "s", socials_today, socials_today == 1 ? "" : "s" );
    send_to_char(buf, ch);
    sprintf ( buf, "          as well as having died to {G%ld{g mobiles and killed {G%ld{g.\n\r", mobdeaths_today, mobkills_today );
    send_to_char(buf, ch);
    sprintf ( buf, "\n\r          {G%d{g real pkill%s %s occured.{x\n\r", 
	pkills_today, pkills_today == 1 ? "" : "s", pkills_today == 1 ? "has" : "have" );
    send_to_char(buf, ch);
    return;
}