void main() { object oPlayer = GetLastAttacker(OBJECT_SELF); if (GetIsPC(oPlayer) && !GetIsDM(oPlayer)){ DelayCommand(3.0, AssignCommand(oPlayer,JumpToLocation(GetLocation(GetWaypointByTag("prison"))))); SendMessageToPC(oPlayer, "You have been sent to jail for vandalism."); AssignCommand(oPlayer,ClearAllActions()); } }