Actually, you could probably make your code work with one simple fix. You have no wait after the button input is detected, so it's going through all of them with one button press. Just put, WAIT 5 after each - IF BTN THEN DOSTUFF WAIT 5 ENDIF