but could i make it an if,else statement where IF the button is pressed, it does mode 2 and if it isnt pressed then do mode 1?
Sure, if that's what you want.
Making the mode change each time the switch is pressed is not that difficult, though.
int currState;
int prevState = HIGH; // Whatever not pressed means, for your wiring
int mode = 0;
void loop()
{
currState = digitalRead(somePin);
if(currState != prevState)
{
if(currState == LOW) // Or whatever pressed means, for your wiring
mode++;
}
prevState = currState;
if(mode > x)
mode = 0;
if(mode == 0)
// do one thing
else if(mode == 1)
// do something else
else if(mode == 2)
// Do whatever
}