Code: Select all
From:
set nb_component(chanlimit) 0
Becomes:
nb_set botname nb_component(chanlimit) 0
Ok, this is what I did. As I said I have 3 bots running, hubbot, leaf1, leaf2. In the hubbot netset.tcl I did...ppslim wrote:Tainted, the whole goal behind nb_set, is to get around netupdate colisions.
IE, if the hub bot doesn't run chanlimit, then after netupdate, none of the others will either.
The nb_set command/setting, is not that easy to understand.
With the normal set command, you give it the setting name, and value. However, with nb_Set, you also give it a botname.
There is not much more to it than that.
You can give a group of botnames, but that is a advanced system. A seperate nb_Set for each bot, will not hurt.
EG
Some good HTML documentation around this, is available on this part of the netbots help pageCode: Select all
From: set nb_component(chanlimit) 0 Becomes: nb_set botname nb_component(chanlimit) 0
Ok, I have it right then. The changes and netupdate were made with the hubbot. Thanks!ppslim wrote:Well, that slightly depends.
1: The changes, and netupdate must be issued from the hub bot
The nb_set command will only effect bots listed in the "botname" part of the command.
Any other bot not listed will ignore it.