Firstly, put your code in a code snippet be highlighting it and clicking the "code" button at the top right
You will get a cool box like this:
OK, now to your problem:
Try changing
if returnkey()=1 and helddown1=0
do whatever just once in a loop
helddown1=1
else
helddown1=0
endif
to
if returnkey()=1 and helddown1=0
do whatever just once in a loop
helddown1=1
endif
if returnkey()=0 and helddown1=1 then helddown1=0
With your code, it will never get to the "else", because it`s waiting for the returnkey to equal 0, and the helddown1 to equal 1. And that will not occure.
TheComet
Suicide is away of telling God, You can’t fire me I quit !!!!!