The GIVE command is somewhat like the BRIBE command, only rather than triggering on the amount of gold received, it triggers on the object it receives. This is a very nice program for anyone who wants to write a mini-quest into one of their areas. When a character gives the mobile X object, they either receive a particular object back, or are given more instructions and/or transferred. Syntax is: addmprog
Example:
if level $n <= 50
say Well done, $n!
mob load obj 5000
give
mob purge (whatever obj they were given)
else
if level $n > 50
say Hey now, aren't you just a little too old for these kinds of toys?
mob transfer $n 3001
endif
endif
And this one will load the particular object for the quest to anyone level 50 or lower upon receipt of the specified object. Everyone above level 50 will be returned to recall.


Home