The edited script posted should work if it creates the files...
Not sure if it's a version problem... but it will not "work" / announce anything besides 10 minutes before show(s) airs
Also you should note that times will be jacked if the bot time isn't GMT-5 ( and even their some times will be of.. like UK and Aussie shows )
EDiT:
Just tested and working here... ( Running mIRC Version. 6.35 )
How-2: