world<<"flag: 1"
var/n=0
while(!n)
world<<"flag: 2"
n=input(usr,"Drop how many?","Drop") as null|num
world<<"flag: 3"
if(!n)return
world<<"flag: 4"
if(round(n)!=n||n<0||n>amount)n=0
world<<"flag: 5"
world<<"flag: 6"
Problem description:
Stops after "flag: 2" without throwing up an input.
while(!n), would mean once n is true, the while would stop. So if you enter in a num, it'd stop, right?
Second is, what I've noticed, if that's in a Click() proc, null|num would automaticly return null.
Then again, it might be something waaay else >.>