> #define CHK_ODOR        (52)          /*how does $n smell*/
> #define CHK_HAIR        (53)          /*how long is $n's hair*/
> #define CHK_DISPOSITION (54)          /*what kind of character is $n*/
>
> in the keywords (the last 3):
>
>    "odor",
>    "hair",
>    "disposition",
>
> in int cmd_eval_mob (case 3)
> case CHK_ODOR: if ( lval_char != NULL && !IS_NPC(lval_char) ) lval =
> lval_char->pcdata->bathe; break;
> case CHK_HAIR:
> if ( lval_char != NULL && !IS_NPC(lval_char) ) lval = lval_char->
> pcdata->hlength; break;
> case CHK_DISPOSITION:
> if ( lval_char != NULL && !IS_NPC(lval_char) ) lval = lval_char->
> pcdata->disposition; break;
>

Make sure that odor, hair and disposition are in the same place on the
list.  Also, looking over my mob_prog.c file.  Shouldn't those 3 lines
above be in case 5: Keyword, actor, comparison and value?  The stuff in
case 3 is for CHK_ISPC, things that are true/false.  Try moving those
three to case 5 and retry.
Your code may be completely different than mine so it may be in the right
place.
Jef



Reply via email to