Delay: This trigger activates when the delay of a mobile (set with the mob delay command) expires. This trigger can be used to create staged mobile behavior, for example, a guardian could see a player entering a room, give a warning, remember the player and activate a delay. If the player is still present when the delay expires, the guard would attack the player. A mobile can have several delay triggers, but every time the delay timer expires, all the triggers are checked and the first successful one executed.

To set this trigger, use the following syntax:

addmprog <vnum> delay <percentage #>

Example: addmprog 3001 delay 20