If your bots still misbehave after restarting them (not just a simple rehash), this would suggest that you've mixed up the config files and scripts.eXtremer wrote:pfff I really don't understand whats wrong with my Bot, the second Bot still is loging on with the First Username, now I've removed mc.irc_services.tcl script from /scripts and guess what ? THE BOT2 is still loging on with the first Username, wtf ?
The whole situation:
I have 2 bots with 2 .conf file, now it uses different user and chan file, both Bots use mc.irc_services.tcl script to Authenticate to ChanServ (X), I've made a second mc.irc_services.tcl renamed to mc.irc_services2.tcl for the second Bot. In the .conf of the Second bot I've changed to load mc.irc_services2.tcl but still the second Bots keeps on loging on with the Username dedicated for the First Bot, why ??? Now I've deleted (made a backup) of the mc.irc_services.tcl from /scripts but still the second bot is loging on with the First Username, now I commented (#source scripts/mc.irc_services2.tcl
) but again nothin` changed, where from the bot is taken the data ?
There is also one other possibility, there are a few scripts out there that try to "help" the user by automatically loading any and all scripts present in the scripts-directory. Since you seem rather sure you got your configs and scripts in order, this might be worth investigating.
"Where is the data taken from?":
Well, basically from whatever scripts you've loaded. These data will persist in memory until your bot is killed or restarted. Once killed or restarted, it's solely up to the scripts to restore any old data, as the whole tcl-environment is wiped, and most modules unloaded (if killed the whole process is entirely wiped).