i've been running this qstat4eggdrop for a very long period! I've ALWAYS had to re-install the windrop after suddenly and unmotivatedly getting the
couldn't duplicate input handle: bad file number
SOMETIMES after a reinstall, it works for some time again. Using a pre-1.5.3 version of eggdrop/windrop might also help to prolong the working time, at least I ran this windrop for almost 6 months untill it gave up on me again! But, after a while, I've always had to install a new version of windrop for it to start again!
The fault is unknown! It is supposed to be related to some IRC servers doing weird things when an eggdrop/windrop tries to execute an external program (The 'exec' function).
If some of you hardcore supercoders out there would explain/elaborate further on this, and even suggest how to fix it, It would be of tremendous help. IMHO, qstat4eggdrop is 1 of the most useable and smart scripts out there for eggies.