Try this @LOOP B=BUTTON IF B AND #A THEN GOTO @NAME IF B AND #B THEN GOTO @NAME GOTO @LOOP that might work try that ;)