New to arduino, and need some help. Thanks!

Hello everyone. I just got my first Arduino Duemilanove. I am trying to write a simple code to turn on and off several devices in time line for my installation. Following the tutorials I figured out how to put this into infinity loop, but my goal is to run this sequence only once after the push of a [reset]button. Couldn't figured out the button part too. Thank you for any help. This is what I wrote:

int fans = 2; // fan control pin int green1 = 3; //green lamp 1 int green2 = 4; //green lamp 2 int green3 = 5; //green lamp 3 int red = 6; //red lamp int buzz = 7; //buzzer void setup() // run once, when the sketch starts { pinMode(fans, OUTPUT); // sets the digital pin as output pinMode(green1, OUTPUT); pinMode(green2, OUTPUT); pinMode(green3, OUTPUT); pinMode(red, OUTPUT); pinMode(buzz, OUTPUT); }

void loop() // run over and over again>>I don't want loop here { digitalWrite(fans, LOW); //3 sec delay at start digitalWrite(green1, LOW); digitalWrite(green2, LOW); digitalWrite(green3, LOW); digitalWrite(red, LOW); digitalWrite(buzz, LOW);

delay(3000);

digitalWrite(buzz, HIGH); digitalWrite(green1, HIGH); digitalWrite(green2, HIGH); digitalWrite(green3, HIGH); delay(1000); digitalWrite(buzz, LOW); digitalWrite(green1, LOW); digitalWrite(green2, LOW); digitalWrite(green3, LOW); delay(1000); digitalWrite(buzz, HIGH); digitalWrite(green1, HIGH); digitalWrite(green2, HIGH); digitalWrite(green3, HIGH); delay(1000); digitalWrite(buzz, LOW); digitalWrite(green1, LOW); digitalWrite(green2, LOW); digitalWrite(green3, LOW); delay(1000); digitalWrite(buzz, HIGH); digitalWrite(green1, HIGH); digitalWrite(green2, HIGH); //I know it can be a loop, but this is easier for me digitalWrite(green3, HIGH);

digitalWrite(fans, HIGH); // sets the fans on 30 sec, of 30 sec

delay(300000);

digitalWrite(green1, HIGH); digitalWrite(buzz, HIGH); delay(500); digitalWrite(buzz, LOW); delay(300000); digitalWrite(green2, HIGH); digitalWrite(buzz, HIGH); delay(500); digitalWrite(buzz, LOW); delay(300000);

digitalWrite(green3, HIGH); digitalWrite(buzz, HIGH); delay(500); digitalWrite(buzz, LOW); delay(300000);

digitalWrite(red, HIGH); digitalWrite(buzz, HIGH); delay(1000); digitalWrite(red, LOW); digitalWrite(buzz, LOW); delay(500); digitalWrite(red, HIGH); digitalWrite(buzz, HIGH); delay(1000); digitalWrite(red, LOW); digitalWrite(buzz, LOW); delay(500); digitalWrite(red, HIGH); digitalWrite(buzz, HIGH); delay(1000); digitalWrite(red, LOW); digitalWrite(buzz, LOW); delay(500); digitalWrite(red, HIGH); digitalWrite(buzz, HIGH); delay(1000); digitalWrite(red, LOW); digitalWrite(buzz, LOW); delay(500);

digitalWrite(green1, LOW); digitalWrite(green2, LOW); digitalWrite(green3, LOW);

digitalWrite(red, HIGH); digitalWrite(buzz, HIGH);

digitalWrite(fans, LOW);

delay(30000); }

This will happen ONLY after a reset press.

int fans = 2;                // fan control pin
int green1 = 3;              //green lamp 1
int green2 = 4;              //green lamp 2
int green3 = 5;              //green lamp 3
int red = 6;                 //red lamp
int buzz = 7;                //buzzer


void setup()                    // run once, when the sketch starts
{
 pinMode(fans, OUTPUT);      // sets the digital pin as output
 pinMode(green1, OUTPUT);
 pinMode(green2, OUTPUT);
 pinMode(green3, OUTPUT);
 pinMode(red, OUTPUT);
 pinMode(buzz, OUTPUT);
 digitalWrite(fans, LOW);  //3 sec delay at start
 digitalWrite(green1, LOW);
 digitalWrite(green2, LOW);
 digitalWrite(green3, LOW);
 digitalWrite(red, LOW);
 digitalWrite(buzz, LOW);

 delay(3000);

 digitalWrite(buzz, HIGH);
 digitalWrite(green1, HIGH);
 digitalWrite(green2, HIGH);
 digitalWrite(green3, HIGH);
 delay(1000);
 digitalWrite(buzz, LOW);
 digitalWrite(green1, LOW);
 digitalWrite(green2, LOW);
 digitalWrite(green3, LOW);
 delay(1000);
 digitalWrite(buzz, HIGH);
 digitalWrite(green1, HIGH);
 digitalWrite(green2, HIGH);
 digitalWrite(green3, HIGH);
 delay(1000);
 digitalWrite(buzz, LOW);
 digitalWrite(green1, LOW);
 digitalWrite(green2, LOW);
 digitalWrite(green3, LOW);
 delay(1000);
 digitalWrite(buzz, HIGH);
 digitalWrite(green1, HIGH);
 digitalWrite(green2, HIGH);   //I know it can be a loop, but this is easier for me
 digitalWrite(green3, HIGH);

 digitalWrite(fans, HIGH);  // sets the fans on 30 sec, of 30 sec

 delay(300000);

 digitalWrite(green1, HIGH);
 digitalWrite(buzz, HIGH); 
 delay(500);
 digitalWrite(buzz, LOW);
 delay(300000);
 digitalWrite(green2, HIGH);
 digitalWrite(buzz, HIGH); 
 delay(500);
 digitalWrite(buzz, LOW);
 delay(300000);

 digitalWrite(green3, HIGH);
 digitalWrite(buzz, HIGH); 
 delay(500);
 digitalWrite(buzz, LOW);
 delay(300000);
                  
 digitalWrite(red, HIGH);
 digitalWrite(buzz, HIGH);
 delay(1000);
 digitalWrite(red, LOW);
 digitalWrite(buzz, LOW);
 delay(500);
 digitalWrite(red, HIGH);
 digitalWrite(buzz, HIGH);
 delay(1000);
 digitalWrite(red, LOW);
 digitalWrite(buzz, LOW);
 delay(500);
 digitalWrite(red, HIGH);
 digitalWrite(buzz, HIGH);
 delay(1000);
 digitalWrite(red, LOW);
 digitalWrite(buzz, LOW);
 delay(500);
 digitalWrite(red, HIGH);
 digitalWrite(buzz, HIGH);
 delay(1000);
 digitalWrite(red, LOW);
 digitalWrite(buzz, LOW);
 delay(500);

 digitalWrite(green1, LOW); 
 digitalWrite(green2, LOW); 
 digitalWrite(green3, LOW); 

 digitalWrite(red, HIGH);
 digitalWrite(buzz, HIGH);
  
 digitalWrite(fans, LOW);

 delay(30000);       
}

void loop()                     // run over and over again>>
{           
  //this will loop, but have no effect.
}

It worked! Thanks so much!