wait would it be as simple as this?
If(condition 1
if condition time is met 1
change leds to red
while condition1==true,
if condition2
if condition time is met 2
change led to green
while condition2==true?
Wouldn't that make it so as long as 1 is true it wont run that red command again but also wait for condition 2 to become true?