Fight
Fight: This trigger will activate every pulse during a fight the mob is in. It can be used to cast spells, summon aid, etc. This trigger will activate regardless of whether the mob can see the player or not. If there is more than one fight trigger on a mob, only the first successfully activated mprog will work.
To set this trigger, use the following syntax:
addmprog <vnum> fight <percentage #>
Example: addmprog 3001 fight 28