Im trying to do common netset.tcl for all bots instead of configuring each bots netset separately and having problems with it.
when I set common definition whatever to load or not (set nb_component(aidle)1 fox example) so everything seems to be fine but when I try to set different diffinition for each bot its not loading properly (nb_set nick nb_component(chanlimit) 1) for example.
I checked the syntax over and over and I couldnt find the factor to the problem.
when Im loading my bot Im getting the following error message:
[11:15] Loading netbots.tcl v4.09 by slennox..
[11:15] *** WARNING: error found when loading netbots/netset.tcl:
[11:15] wrong # args: should be "nb_set bots setting value"
copy from my netset as below:
# netbots.tcl v4.09 (1 April 2002)
# Copyright 1998-2002 by slennox
# slennox's eggdrop page - http://www.egghelp.org/
## netbots.tcl settings file ##
## Please read netbots.txt and components.txt before using this script ##
# netbots.tcl settings
set nb_flag N
set nb_key "xggrtr5fwer"
#set nb_group(cats) "Burmese,Persian,Siamese"
#set nb_group(dogs) "Doberman,Whippet"
set nb_defctrl "*"
set nb_owner 1
set nb_ctrlbots ""
set nb_max 3
set nb_timeout 60
set nb_netupdate 1
set nb_nettcl 1
set nb_update "MaG"
set nb_chon 1
set nb_broadcast "n"
set nb_cmdcast 1
set nb_castfilter "addhost op voice +host ident .chpass .newpass .note"
#servers settings
set nb_servers {
irc.Qeast.net
irc.homelien.no
irc.webgiro.se
irc.rt.ru
irc.lightning.net
efnet.demon.co.uk
irc.easynews.com
efnet.vuurwerk.nl
irc.secsup.uu.net
irc.west.gblx.net
irc.inet.tele.dk
irc.Prison.NET
irc.isdnet.fr
irc.du.se
irc.daxnet.no
irc.mpls.ca
irc.torix.ca
irc.arcti.ca
irc.flamed.net
irc.efnet.pl
irc.mindspring.com
irc.hemmet.chalmers.se
efnet.cs.hut.fi
irc.vrfx.com
irc.inter.net.il
irc.umn.edu
irc.concentric.net
irc.umich.edu
}
# aidle.tcl settings
set nb_component(aidle) 1
set ai_msgbots 0
set ai_chans "#magnet"
set ai_time 30
set ai_uidle 0
set ai_msgs {
"*yawn*"
"la la la"
"hello"
"rofl"
}
# botnetop.tcl settings
set nb_component(botnetop) 1
set bop_delay 1
set bop_maxreq 2
set bop_modeop 1
set bop_linkop 1
set bop_icheck 0
set bop_hcheck 1
set bop_osync 0
set bop_addhost 1
set bop_log 0
# chanlimit.tcl settings
set nb_component(chanlimit) 0
nb_set Shaky nb_component(chanlimit) 1
nb_set McRoyal nb_component(chanlimit) 1
nb_set McChicken nb_component(chanlimit) 1
set cl_chans ""
set cl_echans ""
set cl_limit 10
set cl_grace 2
set cl_timer 1
set cl_server 1
set cl_log 0
# extras.tcl settings
set nb_component(extras) 1
set ex_cleanup 1
set ex_clearbans 1
set ex_newuser "MaG"
set ex_opall 1
# logfile.tcl settings
set nb_component(logfile) 0
set lg_email "nickname@mail.com"
set lg_maillog ""
set lg_maxsize 5000
# mainserver.tcl settings
set nb_component(mainserver) 0
set ms_mservers {
irc.chitchat.net:6668
}
set ms_servers {
irc.talktome.com
irc.blahblahblah.org:6664
irc.chinwaggers.net
}
set ms_chktime 120
set ms_tryagn 300
set ms_autoreset 0
set ms_note "YourNick"
set ms_chans "#yourchannel"
set ms_needbot 1
# mass.tcl settings
set nb_component(mass) 1
set ma_reason "closing temporarily"
# nocycle.tcl settings
set nb_component(nocycle) 1
# repeat.tcl settings
set nb_component(repeat) 0
nb_set Carlon nb_component(repeat) 1
nb_set Ursula nb_component(repeat) 1
set rp_chans ""
set rp_echans ""
set rp_efficient 0
set rp_exempt "f|f"
set rp_warning 1
set rp_kflood 3:10
set rp_kreason "stop repeating"
set rp_bflood 0:0
set rp_breason "repeat flood"
set rp_sflood 0:0
set rp_sreason "stop repeating"
set rp_slength 400
set rp_mtime 50
set rp_mreason "multiple repeat floods"
set rp_btime 3
# sentinel.tcl settings
set nb_component(sentinel) 0
nb_set Ursula nb_component(sentinel) 1
nb_set Shaky nb_component (sentinel) 1
nb_set McChicken nb_component (sentinel) 1
nb_set Mcroyal nb_component (sentinel) 1
set sl_bcflood 5:30
set sl_bmflood 6:20
set sl_ccflood 5:30
set sl_avflood 25:20
set sl_tsunami 20
set sl_txflood 50:10
set sl_boflood 0:0
set sl_jflood 6:20
set sl_nkflood 6:20
set sl_ban 600
set sl_boban 3
set sl_globalban 0
set sl_wideban 1
set sl_banmax 0
set sl_igtime 20
set sl_masktype 0
set sl_ilocktime 10
set sl_mlocktime 40
set sl_shortlock 1
set sl_bfmaxbans 30
set sl_note "MaG"
set sl_cfnotice "Channel locked temporarily due to flood, sorry for any inconvenience this may cause

set sl_bfnotice "Channel locked temporarily due to full ban list, sorry for any inconvenience this may cause

set sl_lockcmds 2
set sl_lockflags "o"
set sl_bxsimul 1
# superbitch.tcl settings
set nb_component(superbitch) 0
set sb_chans ""
set sb_canop "m|m"
set sb_canopflags "o|o"
set sb_canopany "b|-"
set sb_remove 0
set sb_note "YourNick"
set sb_checkop 0
# These lines make sure your bot and netbots directories are secure by
# setting their permissions to rwx------.
catch {exec chmod 700 [pwd]}
catch {exec chmod 700 $nb_dir}
I appreciate any help

Thanks ahead, me