If you use "IF B AND 4" instead of "IF B==4", then you can press multiple buttons and the IF statements will still trigger.