With this change on compile I get:

chaosnight.kod<188>: error: parse error on token if 

188 - else if NOT IsClass(oItem,&NumberItem)

if I remove if

188 - else NOT IsClass(oItem,&Numberitem)

chaosnight.kod<188>: error: parse error on token NOT

I have had this trouble in the past - I am not sure how to do else if statements in the KODs... That's why I had to check it against it against IsClass again.

I did have two if statements and an else satement, in that instance it ignored the first if, ran the second if and else statements.

For example if I put KarmaPotion first when chaosnight started I got the - and + karma potions but only 1 of each of the number items.

If I put the number items first when chaos night started I got the 100+ arrows (etc) but I did not get the correct karma potions (got blanks like the constructor did not run).

So the way I had to make it work was to have the 3 if statements in that order...