void main() { object oKiller = GetLastKiller(); GiveXPToCreature(oKiller, 150); if(GetIsPC(oKiller)) { if(GetXP(oKiller) >= 2000) { object oTarget = GetWaypointByTag("Heijan"); object oMalas = GetNearestObjectByTag("SargentMalas"); AssignCommand(oMalas,SpeakString("Get your mother loving ass out of my training area!", TALKVOLUME_TALK)); AssignCommand(oKiller, JumpToObject(oTarget)); } else if(GetXP(oKiller) >= 1500) { object oTarget = GetWaypointByTag("TalkToMalas"); object oMalas = GetNearestObjectByTag("SargentMalas"); AssignCommand(oMalas,SpeakString("Its time for you to get out of here soldier! You have done enough practice.", TALKVOLUME_TALK)); AssignCommand(oKiller, JumpToObject(oTarget)); } } else { DestroyObject(oKiller); } }