Give

Main.Give History

Hide minor edits - Show changes to markup

December 26, 2008, at 03:21 PM EST by admin
Added lines 1-10:

Give: This will activate the mprog when an object is given to the mob. Mobs with the pet flag or with the shopkeeper flag cannot be given items, so your mob should either be immune to everything and level 220, or it should be killable. The pattern for this mprog is either the vnum or a keyword of the object the mob is given. If this trigger activates on a keyword, you should attempt to make it a fairly unique keyword, as it will activate on that regardless of whether it was the object you intended or not.

To set this trigger, use the following syntax:

addmprog <vnum> give <vnum or keyword>

Examples: addmprog 3001 give 3012 addmprog 3001 give goldbelt