Turn on and off lights with timer

Hello everyone. Can you help me write script about turn on and turn off for point light or spot light with timer after begin scene.

example:

after begin scene
turn off lights after 10 sec
turn on lights after 30 sec
turn off lights after 30 sec
turn on lights after 30 sec
turn off lights after 30 sec

Thank you for help

Look into coroutines… this will be the big win, something like:

IEnumerator BlinkyLight()
{
   yield return new WaitForSeconds(10);
   myLight.enabled = false;
   yield return new WaitForSeconds(10);
   myLight.enabled = true;
/// etc etc etc.
}