Hpcnt: This trigger will activate the mprog when the mob's hit points fall below a certain percentage. It will check the mob's hit points every pulse, and so there is a chance it might not be activated before the mob's death. If you have more than one, they should be listed in descending order (i.e. 40% falls before 20% which falls before 10%). Only the first successfully activated hpcnt trigger will be performed each pulse. This is fairly similar to the hpcnt if check.

To set this trigger, use the following syntax:

addmprog <vnum> hpcnt <percentage #>

Example: addmprog 3001 hpcnt 45