void main() { object oSeen = GetLastPerceived(); if((GetIsEnemy(oSeen)) && (!(GetIsDead(oSeen))) ) { SpeakString("Intruders! Intruders!"); DelayCommand(1.0,SpeakString("For the Red Claw!")); ActionMoveToObject(oSeen,FALSE,2.0); ActionDoCommand(ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectDamage(1),OBJECT_SELF)); } }