help with two pir's code?

hi i have two pir sensors and two rooms,i want to put one pir in each room,and have it with on a light in that room when mothin is detected,i got one room to work,but im having a little trouble with adding the code for the other one is that possible on the arduino?
this is what works rite now…

int room1 = 2;
int room2 = 3;
int motionroom1 = 7;
int motionroom2 = 8;

void setup()
{
pinMode(motionroom1,INPUT);
pinMode(room1,OUTPUT);
pinMode(room2,OUTPUT);
//--------------vTEST--------------------------------//
digitalWrite(room2,HIGH);

digitalWrite(room1,LOW);
delay(500);
digitalWrite(room1,HIGH);
delay(500);
digitalWrite(room2,LOW);
delay(500);
digitalWrite(room2,HIGH);
delay(500);

digitalWrite(room1,LOW);
digitalWrite(room2,LOW);
delay(4000);
digitalWrite(room1,HIGH);
digitalWrite(room1,HIGH);
delay(4000);
}
//--------------------end test------------------------------------
void loop()
{
if (digitalRead(motionroom1) == HIGH)
{
digitalWrite(room1,LOW);
delay(250000);
digitalWrite(room1,HIGH);
}
}

int motionroom1 = 7;
int motionroom2 = 8;

void setup()
{
  pinMode(motionroom1,INPUT);
  pinMode(room1,OUTPUT);
  pinMode(room2,OUTPUT);

Why isn't motionroom2 declared to be an INPUT pin?

void loop()
{
  if (digitalRead(motionroom1) == HIGH)
  {
    digitalWrite(room1,LOW);
    delay(250000);
    digitalWrite(room1,HIGH);
  }
}

Don't you think that it is necessary to read the other sensor? Motion in the other room won't be detected for more than 6 minutes if there is motion on the first room.

My crystal ball tells me that study of the blink without delay example is in your future.

i do think so i just forgot to put it there in this example but i have it in my sketch