It must be something to do with the channel windows.. I'm guessing at this point. I have read about this 200 window limit in a couple really vague articles and it has been verified by another mIRC bot service we are friendly with as well. After joining around 200 channels on one box the "Error creating window" error pops up and no other channels can be joined. Needless to say the bots don't even know they are on those channels that they get that error when trying to join, so no events trigger for those channels... even though they are on those channels. I have tried out the snip of script you have there and I too was able to open up all 400 of those windows. I even went so far as to add l10 to open up a side list box as well (even though we have ours disabled). What are your system specs and operating system, service packs etc?

We have gotten this error when multiserving many bots AND back when they were all on seperate instances of mIRC so to me that seems to be something OS related. Most of our boxes are 2kAS or 2k server and one xp pro box. We tried xp pro to see if maybe it was an issue with 2k but turned out to display the same results.