/* This is a code to allow immortals to delete players or immortals In act_wiz.c put this: void do_nuke( CHAR_DATA *ch, char *argument) { char strsave[MAX_INPUT_LENGTH]; CHAR_DATA *victim; char arg[MAX_INPUT_LENGTH]; char buf[MAX_STRING_LENGTH]; one_argument( argument, arg ); if ( arg[0] == '\0' ) { send_to_char( "Syntax:nuke \n\r", ch ); return; } if ( ( victim = get_char_world( ch, arg ) ) == NULL ) { send_to_char( "They are not logged on.\n\r", ch ); return; } if (IS_NPC(victim)) { send_to_char( "This command only works on players.\n\r", ch); return; } sprintf( strsave, "%s%s", PLAYER_DIR, capitalize( victim->name ) ); stop_fighting(victim,TRUE); sprintf( buf,"%s has been nuked by %s",victim->name,ch->name); do_announce( ch,buf); do_quit(victim,""); unlink(strsave); return; } In interp.c put this: { "nuke", do_nuke, POS_DEAD, ML, LOG_ALWAYS, 1 }, In interp.h put this: DECLARE_DO_FUN( do_nuke ); /* Note if your using RoT codebase then put this in interp.c */ { "nuke", do_nuke, POS_DEAD, ML, 1, LOG_ALWAYS, 1 }, /* email comments or complaints to salem@limpbizkit.com */