Well, here it is finally. I actually finished most of the code changes a couple of weeks ago, but got sidetracked (as one does) before finishing the documentation.
I didn't add my "set the limit based on the number of users in the channel (a percentage setting)" feature--after some thinking I decided it would be silly in practice. Instead, I implemented a feature that will let you do ".chanset #channel +chanlimit" and the like, which I believe is what some people want.
This is the first of the stock netbots.tcl components to be made in a "unified" format so that I don't have to maintain a separate netbots.tcl component and standalone version. This required the setting descriptions be split into a separate "readme.txt" file, so that the little settings block in the script file itself can be copied to netset.tcl, if required, without making a mess. I was also thinking of making the readme.txt in HTML instead. In any case, the "settings descriptions" section needs improvement and I might add the "default" and "valid settings" tips which are a feature of the netbots.tcl component docs.
In future I intend to split all of the components (botnetop.tcl, extras.tcl, etc.) from the netbots.tcl core and create these separate unified versions. This will allow me to update them individually, instead of netbots.tcl as a whole (which is too big for me to work on these days). I won't be doing anything revolutionary with the scripts, just adding some basic features as I've done with chanlimit.tcl. I'll also stamp the GNU GPL on them to replace my poor excuse for a licence.
Anyway, load the thing and let me know if it spits out errors or doesn't work as expected
http://www.egghelp.org/chanlimit4.5.tar.gz