*edit*
I took a look at this script and due to the lack of support, popularity, and the low quality of this script, I decided to write my own Dynamic Lighting Script (with lights, Day / Night, and a clock) that addressed many of the issues, as well as adding a ton of new features.
Heretic's Dynamic Lighting Script [XP]http://forum.chaos-project.com/index.php/topic,15417.msg194701.html#msg194701 (obsolete)
EDIT: Full Version 1.0 is available in my Collection
http://forum.chaos-project.com/index.ph ... 682.0.html

My script is still in development. Mostly dll work and I really only need some help with the C++ side of this (image quality), but you should be able to use this script for development in its current state. Due to some features not working the way I want just yet, I havent allowed legal distribution of the script at the time of this Post Edit (July 12th, 2016), but you can use and play with it. I will admit that the Demo for download listed above is not truly a proper demo as not all of the features are well explained or documented so some things may be a bit confusing.
If you need support for my script, have some time to work with C++ code for functionality that I need, please PM me or start a new thread. However, if you would like to compare both scripts, I believe this would be a more appropriate thread to post in.
---
*** original post prior to edit ***
@o0Sniper0o
Due to lack of support for this script, you might find an alternative here:
http://forum.chaos-project.com/index.ph ... 284.0.html---
Edit: Monday, July 17th, 2017
Not sure how I forgot to update this post but my script is complete and released for legal distribution, including in commercial projects. The script I wrote is available in the link above in Heretic's Collection of Art and 100% Compatible Scripts. It is much faster, more stable, and has a TON of features that should knock your socks off!
Support for the original script of the OP should remain here, for support for my script, feel free to start a new thread so this thread remains dedicated to the script for which it was intended.