Exall
Exall: This will trigger the mprog when a player attempts to exit the room in the direction specified. It triggers regardless of whether the mob can see the player or not, even if the player is wizinvis or incog. If this mprog is triggered, the player cannot move through the exit and must be moved with a transfer or gtransfer command. The pattern is the number of the exit you wish the mprog to trigger on. 0 = north, 1 = east, 2 = south, 3 = west, 4 = up, 5 = down.
To set this trigger, use the following syntax.
addmprog <vnum> exall <# of exit>
Examples: addmprog 3001 exall 2 addmprog 3001 exall 5