Thread: Evil Mprogs
View Single Post
Old 04-09-2003, 08:23 AM   #3
jornel
Member
 
Join Date: Sep 2002
Location: Canada
Posts: 73
jornel is on a distinguished road
You didn't say if the problem was in the prog or the trigger.

As a test of this, insert 1 line at the very top of your mpog:

[code]  mpe MOOO, it triggered. [/quote]


If you do whatever it is you do to trigger the prog, and still nothing happens, then it looks like your trigger is at fault.

In SMAUG, the trigger is the line you see immediately before your program when you type either:

    rpstat             (if its a room prog)
or  mpstat mobname (if its a mob)


Since you didn't say what codebase you are using, I can only offer one last general hint:

If you suspect the trigger, then test your same mprog using a different trigger like this:

[code]  rpedit add speech p bessie [/quote]

then input your mprog and save.

then just type
 say bessie

if THAT works, then you know your mprog was not evil, it was an evil trigger!
jornel is offline   Reply With Quote