Pretty much just write IF BUTTON(0) AND #button and you'll be fine.