immcomm.c

immcomm.c · 639 B

From the archive fakequit.zip

Download the archive   « Back to the archive contents

#include <stdio.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include "mud.h"

void do_fakequit( CHAR_DATA *ch, char *argument )
{


    set_char_color( AT_WHITE, ch );
    send_to_char( "You have quit, how funny\n\rYou left the game, well not completly ", ch );
    act( AT_BYE, "$n has left the game.", ch, NULL, NULL, TO_ROOM );
    set_char_color( AT_GREY, ch);
    sprintf( log_buf, "%s has quit.", ch->name );

    if ( !IS_SET(ch->act, PLR_WIZINVIS) )
    {
        SET_BIT(ch->act, PLR_WIZINVIS);
    }


}

Site Stats

Snippets: 1791
Codebases: 571