Hello, I have been doing dbpro for a lil while but not too much to know alot..
well here is the thing. I have this code:
if inkey$() = "w"
if Gold >= 10
if Stone >= 10
if Wood >= 10
CLS
dec Gold,10
dec Stone,10
dec Wood,10
Inc BaseLevel,1
Inc Score,100
and the code goes on.. well how can I change that if inkey$() = "w" to like where if i press it, it only does it once, not if i hold it, it does it continuesly
example:
i press the w key really fast and it does it like 25 times, I only want it like if i press it, it does it once, and won't do it again unless i release that key and press it again
many thanks,
Pankers