mpdump 200
if ispc $n
and if money $n > 10
say Sorry friend, you're just as wealthy as I am!
emote hiccups hard and stumbles back against the wall after clapping you heartly
on the back!
else
if money $n <= 10
say Ha! You're poor! You need some silver! Take this!
emote throws a coin purse filled with silver at you as he stumbles back and
falls to the ground roaring with laughter!
give 3000 silver $n
endif
endif
if $n ispc
and if $n money > 10
say {mSorry friend, you're just as wealthy as I am!{x
emote hiccups hard and stumbles back against the wall after clapping you heartly
on the back!
else
if $n money <= 10
say {mHa! You're poor! You need some silver! Take this!{x
emote throws a coin purse filled with silver at you as he stumbles back and
falls to the ground roaring with laughter!
give $n 3000 silver
endif
endif
if ispc $n
if money $n <= 10
say Wow, you're poor, man.
else
say Dude!
mob damage $n 2000
endif
endif
(1) here's the mob created to host the prog:
(2) Here's the mpdump for prog 215:
(3) Here's the mpdump for prog 200:
Please bear in mind I know the above prog is syntactically incorrect!
(4) Here's the original mpdump from the first prog I wrote (for prog 200):
NOTE: I am not, nor do I claim to be an expert at mprogs, but something here tells me that the real error is between the keyboard and the chair. Can anyone give me some advice because neither the original or the modified prog I wrote works at all…….
Now, the other night, I had it working just fine. The addmprog was still set to ACT nod, but the prog itself wasn't…..as much….Instead of the if checks and the checking, I had the mob set to just "give 300 silver $n" after the nod. The problem here is that new players would be able to abuse this slight quark and become rich very quickly! So, not seeing (or truly understanding) how the mob function "remember" really worked, I opted to just run some quick ifchecks…..And, like I said, I think I really jacked it up.