Greet: This trigger will activate the mprog when a player visible to the mob enters the room. In other words, if the mob has detect_hidden, it can see hidden and sneaking players, who will activate the mprog on entry. If the mob does not have detect_hidden, hidden or sneaking players will not activate the mprog on entry.
To set this trigger, use the following syntax.
addmprog <vnum> greet <percentage #>
Example: addmprog 3001 greet 50