I'm having some trouble getting this mob program to work correctly. Here is the program:
type: rand_prog
Arg: 100
Command:
if Tell ($I) == dwarven daycare
mpechoat $r _whi The ground opens beneath you!
mpechoaround $r $r _whi disappears down a portal.
mpoload 21005 1
mptransfer $r 6601
mpat $r mpforce $r bounce
mpechoat $r _lbl You arrive at your destination with a thud!
else
mpechoat $r _whi I'm sorry but I don't understand what you are saying.
mpechoaround $r $r _whi is talking nonsense.
endif
Basically what I want to happen is a player tells the mob something (tell is the trigger), in this case dwarven daycare, and the program will first give a scroll of recall and the player, then take them to the desired location. I guess I am missing something because the program never triggers. What am I missing here?
type: rand_prog
Arg: 100
Command:
if Tell ($I) == dwarven daycare
mpechoat $r _whi The ground opens beneath you!
mpechoaround $r $r _whi disappears down a portal.
mpoload 21005 1
mptransfer $r 6601
mpat $r mpforce $r bounce
mpechoat $r _lbl You arrive at your destination with a thud!
else
mpechoat $r _whi I'm sorry but I don't understand what you are saying.
mpechoaround $r $r _whi is talking nonsense.
endif
Basically what I want to happen is a player tells the mob something (tell is the trigger), in this case dwarven daycare, and the program will first give a scroll of recall and the player, then take them to the desired location. I guess I am missing something because the program never triggers. What am I missing here?