On Sun, 2 Jun 1996, Che Lucero wrote: > 52 >all_greet_prog 99~ > 53 if isgood($n) > 54 mpechoat $n $I wags $l tail at you. > 55 mpechoaround $n $I wags $l tail at $n. > 56 else > 57 mpechoat $n $I growls at you. > 58 endif > 59 | > The documentation included with mobprograms is wrong. A closing tilde (~) is required after each mobprogram. For instance, the above should be written as: >all_greet_prog 99~ if isgood($n) mpechoat $n $I wags his tail at you. mpechoaround $n $I wags $l tail at $n else mpechoat $n $I growls at you. endif ~ | Note the tilde before the pipe (|). The tilde seperates mobprograms from one another. If you have two mobprograms assigned to the same mob, then each one is seperated by a tilde. The last mobprogram ends with the tilde and the pipe. I'm not quite certain, however, whether 'mpechoaround' takes an argument?
This archive was generated by hypermail 2b30 : 12/18/00 PST