RaFunambule:
Hi, those were used in two different scenarios... (sketches versions)
the fist one:while millis() <= LampEnd (witch have worked fine)
and the other (in other version)
if mills() >=LampEnd, Then... (that one didn't work)
BOTH of those are the wrong way to use millis().
Have you carefully studied the links I gave you?
...R