Board Thread:Questions and Answers/@comment-74.139.88.16-20140108203004/@comment-14329490-20140108210240

for the button thing you're trying to do, until you learn how to do it correctly you could just copy this code:

FOR I=0TO 1:I=(BTRIGAND 16):NEXT

that just waits for you to press A and i'm assuming that's what you tried to do with button(A)