  | |  | Small problem with mobprogs | Small problem with mobprogs 2003-12-02 - By Mervine, Keith
Back Greetings, I have a small problem . I can get mobprogs working thru 4 cases, but on the 5th it will not go.
/* -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ * CMD_EVAL * This monster evaluates an if/or/and statement * There are five kinds of statement: * 1) keyword and value (no $-code) if random 30 * 2) keyword, comparison and value if people > 2 * 3) keyword and actor if isnpc $n * 4) keyword, actor and value if carries $n sword * 5) keyword, actor, comparison and value if level $n >= 10 * *-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- */
All of the if statements work except for case 5.... IE (if sex $n == 1) etc....
Anyone have any idea as to why is isnt working? I can post the function that I have but only to people who need to look at it, as it is a monster. I will email it to you personally.
Thanks in advance.
Please respond to me at vze358xn@(protected) (im going home soon) as well as the list...
Keith
-- ROM mailing list ROM@(protected) http://www.rom.org/cgi-bin/mailman/listinfo/rom
Earn $52 per hosting referral at Lunarpages.
|
|
 |