Entry: This will trigger the mprog when the mob enters a room. Whenever the mob moves itself from room to room, the mprog triggers. It will not trigger if the mob is transported via spell or mprog, but will trigger if the mob is pushed or intimidated from the room. The pattern is a number, which is the percentage the mprog triggers on.
To set this trigger, use the following syntax.
addmprog <vnum> entry <percentage #>
Example: addmprog 3001 entry 50