// This script will delete a player's character. Checks have been made to prevent non-PCs from attempting to delete // their character. #include "delchar_include" void main() { object oPC = GetPCSpeaker(); if (GetIsPossessedFamiliar(oPC)) { SendMessageToPC(oPC,"You may only delete yourself when you are not possessing your familiar!"); return; } if (GetIsDM(oPC) || GetIsDMPossessed(oPC)) { SendMessageToPC(oPC,"DM's are not servervault characters, and therefore may not be deleted!"); return; } string pname = GetPCPlayerName(oPC); string cname = GetName(oPC); FloatingTextStringOnCreature("DELETING!",oPC); ExportSingleCharacter(oPC); DelayCommand(1.0,BootPC(oPC)); DelayCommand(2.0,deletechar(pname, cname)); }