Bot Ver: eggdrop v1.6.17
Bot OS: Linux 2.6.17-1.2142_FC4
I've got my bot logging in various channels and using many TCL scripts successfully, but for some reason any text said by the bot in response to TCL triggers doesn't get logged. If I have, for example:
Code: Select all
bind pub - !help givehelp
proc givehelp { nick uhost handle chan arg } {
puthelp "PRIVMSG $chan :How can I help you, $nick ..?"
}
I tried adding this patch - but still no joy, although I get the impression perhaps I need some "return" values at the end of my TCL (is this right?)
According to this post it sounds like I need to add specific "putlog" commands to echo the text output to the logfile also, however I'm running megahal and have no idea how to modify this module to log AI output also.
Any pointers? Quite simply, I just want the bot to treat anything it says/does in the channel as public chatter too, logging it accordingly.