This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
BiLL
Halfop
Posts: 78 Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany
Post
by BiLL » Sun Apr 27, 2003 4:45 pm
Is there ANY trick or way to unload a component for netbots?
I have the problem I started all bots with
set nb_component(chanlimit) 1
but now I want to use:
set nb_component(chanlimit) 0
and I can't restart all bots. Is there any way to dynamically unload the chanlimit component?
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Sun Apr 27, 2003 5:11 pm
There is no way to unload it, and it will remain in memory until the bot is restarted.
However, to save even unloading it, simply set all your channel in the exclude setting.
Moonster
Halfop
Posts: 95 Joined: Wed Nov 13, 2002 5:39 pm
Location: Manchester NH USA
Contact:
Post
by Moonster » Sun Apr 27, 2003 8:25 pm
Could also try
.netchanset #Channel -l
"Knowledge is Power"
BeastNH/Moonster on Undernet/EFnet IRC Network
BiLL
Halfop
Posts: 78 Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany
Post
by BiLL » Sun Apr 27, 2003 8:47 pm
I tried to add " * " as exempt to the channel list.
But it didn't work too.
Maybe there is another way - except that * - to mark ALL channels as exclude-channel?
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon Apr 28, 2003 6:07 am
This isn't a mask based settings. The docs say it should be a list of channels, seperate by spaces.
slennox
Owner
Posts: 593 Joined: Sat Sep 22, 2001 8:00 pm
Contact:
Post
by slennox » Mon Apr 28, 2003 7:16 pm
Setting cl_chans to an invalid channel will effectively stop the script from setting limits on your channel, and if you're going to do that you may as well increase the cl_timer setting to around 60 to reduce the script's impact on the bots' efficiency (although it's probably miminal anyway).
Chrysalis
Voice
Posts: 32 Joined: Wed Oct 10, 2001 8:00 pm
Location: UK
Post
by Chrysalis » Mon May 19, 2003 8:59 pm
I use unloadtcl.tcl to dynamically unload tcls although I have never used it unload a netbots component before, this doesnt require a restart although it wont always unload a tcl properly meaning a restart anyway but does usually work.
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue May 20, 2003 6:28 am
netbots compnents will not work with this script.
netbots uses it's own load system, where you define a variable to load a component, rather than place a "source" line.
The quickest method, is to change the netset.tcl file to reflect what changes should be made, and issue a .restart