Well... the problem isn't only with this script, it's in 2 other scripts too.
But this script makes a file named BotTalker_data.tcl, where it puts and keeps the sentences people have spoken to it, and it also takes the sentences from that file and says a random line back to user from that file. So when Bot goes down for some reason, and starts again, something clears the BotTalker_data.tcl file, and it will start again collecting sentences from start. Because of this, I always backupped this BotTalker_data.tcl file, so when the bot did go down, I replaced the new BotTalker_data.tcl with old one, I gave bot some command, don't remember what (maybe -rehash or -reload) and it worked fine. But now the bot won't read the replaced file, but starts again from beginning!
I don't know what's the problem, I've been fighting with this for over 2 hours now and because I didn't get it working I decided to write here.
I'd really appreciate if some of you (caesar :) could help me with this, all I need to know is; do I have to do something else besides replacing the new file with old, for example modify the bottalker.tcl or something... THANKS!
If you don't understand a word from the text above, write here and I'll try to explain this with some other way.