Hi Tarkus1971,
I don't think we have access to the "light range" with scripting.
But you might achieve this effect by moving the light/s up and down with scripting.
I haven't tried it , but it might get you what you want.
[EDITED]
Sorry no luck
I just tried it out and the light does not move around like an entity does.
I may be old, but at least my memory still ....hmmm
DT:Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz, Windows 8.1 64-bit, 16 GB Ram, NVIDIA GeForce GTX 750 Ti, Display Memory: 4018 MB. Resolution 1360x768, Passmark 3528, AutoCAD, 3DsMax, Paint.Net, Solidworks.