I got it to work.  The check var was 1 more than what it should have
been, due to me removing a CHK_BLAH case but not the "string".
Thanks for all the thought.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sarix
Sent: Tuesday, December 02, 2003 8:04 PM
To: Mervine, Keith; [email protected]
Subject: Re: Small problem with mobprogs


I belive there is like a MAX_CALL_LEVEL that prevents mob progs from
going into an infinate loop. And your might be set to 5, I would look at
that and if that is the case just up it to like 10 or something.

----- Original Message ----- 
From: "Mervine, Keith" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, December 02, 2003 3:26 PM
Subject: Small problem with mobprogs


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 [EMAIL PROTECTED] (im going home soon) as
well as the list...

Keith

-- 
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom


-- 
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom



Reply via email to