| View previous topic :: View next topic |
| Author |
Message |
Bytez Op
Joined: 11 Aug 2003 Posts: 168
|
Posted: Fri Sep 19, 2003 8:16 pm Post subject: chanlimit with random/set delay |
|
|
Hi, I'm currently using the non-netbots version of chanlimit1.5. I was wondering if there will be a random delay option like the one on netbots in the future? The reason is because I don't want to have to go through the hassle of configuring again since I only want that one feature in the netbots version. I want more than one bot to have the chanlimit running so there is always a bot available to do the limiting whenever the other bots are not available.
Slennox, is it possible for you paste the code to add a random delay to the non-netbots version of chanlimit1.5.tcl and an option to load the script on all bots ? Thanks. |
|
| Back to top |
|
 |
slennox Owner

Joined: 22 Sep 2001 Posts: 593
|
Posted: Mon Sep 22, 2003 11:01 pm Post subject: |
|
|
Three things I'll probably be motivated to do with chanlimit.tcl in the next week:
- Add a random delay, as suggested by yourself.
- Add a +l enforcement option, as suggested by Oliviero.
- Set the limit based on the number of users in the channel (a percentage setting) rather than a fixed number, as suggested by myself.
Then I'll release it as an updated netbots component and standalone version.
The condition is that someone here has to test it, otherwise I'm not doing anything  |
|
| Back to top |
|
 |
Bytez Op
Joined: 11 Aug 2003 Posts: 168
|
Posted: Tue Sep 23, 2003 12:02 am Post subject: |
|
|
Thanks Slennox, I'll surely test it Your scripts rocks!  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
slennox Owner

Joined: 22 Sep 2001 Posts: 593
|
Posted: Sun Oct 12, 2003 3:03 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Oct 13, 2003 9:43 am Post subject: |
|
|
it works soomthely with no errors , I haven't tried the new features yet (I only enabled the server limit check, but yet didnt happen). I'll inform if anything detected. thank you  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|