Increase/decrease blink with a remote

Ive been on hours now and cannot make it happen.

I think I know what I need to do but I cant seem to work out how to type the code correctly

This is part of the code I am working on and it blinks as you say at 1000.

       if (results.value == button6)
       
{
              
              unsigned long currentMillis = millis();
  
   if(currentMillis - previousMillis > interval) {
     // save the last time you blinked the LED 
    previousMillis = currentMillis;  
    

    // if the LED is off turn it on and vice-versa:
     if (ledState == LOW)
       ledState = HIGH;
     else
       ledState = LOW;
 
    // set the LED with the ledState of the variable:
     digitalWrite(10, ledState);
     digitalWrite(4, ledState);
     digitalWrite(5, ledState);
     digitalWrite(6, ledState);
     digitalWrite(7, ledState);
     digitalWrite(8, ledState);
     digitalWrite(9, ledState);
     
 
  irrecv.resume(); // Receive the next value
       }
   }

Is this the kind of coding that will tell it to increase or decrease?

      if (interval > 100) {
         interval = interval +100;
         
      if (interval < 2000) {
         interval = interval -100;

If it is, how do I make it work when button6 is pressed again?

If i'm totally barking up the wrong tree please help ha-ha :stuck_out_tongue: