Hello!
I just setup my eggdrop bot and loaded alice.tcl into it, among with some other scripts. (Almost) everything seems to be working fine, except alice.tcl is not responding at all, not to channels neither to private messages. I'll provide as much information as possible and I hope you can help me with this issue
[16:21] #Imoq# status
I am GR-Master, running eggdrop v1.6.13: 6 users (mem: 97k)
Online for 02:48 (background) CPU 00:04 cache hit 62.3%
Admin: Imoq <email:
imoq@mydomain.com>
Config file: ./GR-Master.conf
OS: Linux 2.4.18-18.7.x
Tcl library: /usr/lib/tcl8.3
Tcl version: 8.3.3 (header version 8.3.3)
Channels: #ImoqLand(want ops!), #station51(want ops!),
Online as: GR-Master!
gr-master@Station51.2166FBBE5959E0.TR (Bot Master!)
Server irc.server.net:6667 (connected for 02:48)
#ImoqLand : 3 members, enforcing "+stn-klim" (greet, auto-op)
#station51: 3 members, enforcing "+tn" (greet, auto-op)
I have set the following variables in alice.tcl file:
set alice_cookiesfile "$nick.cookies"
set alice_cookiesexpire 7
set alice_respondpriv 1
set alice_respondchan 1
set alice_respondrequirenick 1
set alice_respondwithnick 1
set alice_channels "*"
#(I have also set +alice for channels it is into)
set alice_timeoutchat 5
set alice_logging 1
set alice_log_path "logs/"
set alice_engine 2
There is connection between server where eggdrop is running and the one chosen in alice_engine, since I have been able to sucessfully access the URL for that option:
http://217.6.247.139/alicebot/src/talk.php I have tried other engines as well, which I can reach via shell (using links, lynx, wget or simply telnet to their ip/port) but alice.tcl from bot won't answer.
I have the following scripts loaded in eggdrop.conf:
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/egghttp.tcl
source scripts/google.tcl
source scripts/imdb-20030014.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help
source scripts/bseen1.4.2.tcl
source scripts/commands.tcl
source scripts/sysinfo.tcl
source scripts/mynews.tcl
source scripts/alice.tcl
All of them (includying google.tcl, which also uses egghttp.tcl) are working all right, but alice.tcl is not. When the bot is queried in any channel it sits on and somebody asks him anything by it's nickname it doesn't response at all. The same thing happens if a user sends a private message; the bot just won't respond it.
HOWEVER, since I have the setting "set alice_logging 1" the bot does log the requests that users make to him, as I show here:
[imoq@server eggdrop]$ cat logs/imoq.alice.log
[(12.28.02) 11:21] <imoq> hello
[(12.28.02) 11:21] <imoq> hi, how are you?
[(12.28.02) 11:25] <imoq> come on, answer me...
[(12.28.02) 11:32] <imoq> hiya, robot
[(12.28.02) 11:34] <imoq> hello, GR-Master
[(12.28.02) 11:37] <imoq> GR-Master come on, answer me! are you there?
[(12.28.02) 11:49] <imoq> hello GR-Master, how are you?
[(12.28.02) 13:06] <imoq> Are you mad at me?
Same thing in the channel (sorry for the bad words):
[imoq@server eggdrop]$ cat logs/#imoqland.alice.log
[(12.28.02) 11:28] <imoq> Anwser me already, dammit!
[(12.28.02) 11:33] <imoq> stupid robot you are,
[(12.28.02) 13:00] <imoq> are you still being a jerk?
[(12.28.02) 13:06] <imoq> come on, answer me please.
... it only logs the public messages that are made with bot's nickname in it (as in "GR-Master: come on, answer me please") so I assume it is doing the right thing logging it all, but it just won't answer.
I think I provided enough info; I hope you can help me. I would like to specially thank
strikelight for making such nice and cool TCL scripts.
Thank you for your help.
Imoq.