ID:167927
 
Alright, lets say an NPC asks for 10 Rabbit hides. I know how to make him check for 1 rabbit hide, but how would I make him check for 10? Thanks.
Well, you could do a for loop, then have a itemcollectedtotal and add one for every rabbit hide he gets, then if that total equals 10, viola.
In response to XxDohxX
oh cool, thanks. And just now, I found another problem. I have an 'Item' variable for monsters. When you kill them, it checks to see if they have a true 'Item' var. Then, it makes rabbitdrop=rand(1,100). Then, at the part where you gain exp and gold, it checks to see if rabbitdrop is less than 20. if so, it gives you a rabbit hide. But when I run it, and I kill ANY monster, I get a runtime error of "cannot read null.rabbithide" or something like that.
(Note: I'm using the Text Arena Demo)
In response to Seraphrevan
Well, null.rabbitdrop means that whoevers rabbitdrop is not there. So either you didn't define var/rabbitdrop, or you have a mismatch between src and something else.