Muliple if statement

I don't think that is what the OP is after:

// if button 0 or 6 is pressed or if TF=2