If you want to have more than BUTTON(0) and the button code, try this: IF (BUTTON(0) AND #A)>0 AND OTHERSTUFF>=50 THEN do stuff