mob/proc
Apples()
if(100 > src.apples > 10)
src << "some place 100-10"
return
else
src << "not enough"
return
Problem description:
Now the code above is just made to explain what is bothering me.
I want the proc to check if the apples value of src is between 100 and 10, and if so, do something. Now what happens is that it always outputs "not enough" regardless of the amount of apples, being 20 40 or 90, it does not work.
It's probably staring me in the face but i simply don't get what i'm doing wrong. :)