Random leds blinking

i forgoto to put the code i managed to make:
[edit]int sensore = 5; // fotoresistore
int threshold = 700; // sensibilità fotoresistore
int ledPin = 13; // LED connected to digital pin 13

int value = 0;
long randOn = 0; // Initialize a variable for the ON time
long randOff = 0; // Initialize a variable for the OFF time

void setup() // run once, when the sketch starts
{
randomSeed (analogRead (0)); // randomize
pinMode(ledPin, OUTPUT); // sets the digital pin as output
pinMode(sensore, INPUT);
}

void loop() // run over and over again
{
randOn = random (100, 5000); // generate ON time between 0.1 and 5 seconds
randOff = random (200, 1900); // generate OFF time between 0.2 and 1.9 seconds

value=analogRead (sensore);

if (value > threshold){ digitalWrite(ledPin, HIGH); // sets the LED on
delay(randOn); // waits for a random time while ON
}

else {
digitalWrite(ledPin, LOW); // sets the LED off
}
}
[/edit]