I have a recent build of eggdrop 1.8 and the most recent pisg stats.
I am trying to set up the bot so it logs all channel chatter so that it can be used with pisg. Currently its only logging joins, parts, quits, actions.
How can I fix this?
set max-logs 50
set max-logsize 2000
set quick-logs 0
set raw-log 0
Actually... It's because of the test platform I use. Everything is tested on windrop 1.6.17 at first.
EGGDROP CHANGES - 1.6.18 wrote: - Added support to MSGM, PUBM, NOTC, and WALL binds to support bound
procs returning 1 to prevent logging of the trigger message text.
So now, yeah it has a return 1 where it should be a return 0.
Future versions of the script will include the code above to detect which value to return. The should fix the logging issue for all versions of eggdrop/windrop.
speechles,
Just a question; is there any particular reason for returning 1 in the first place?
Also, your version-test would break on older eggdrops such as 1.6.9, since you are doing a string comparison. I'd rather recommend using numversion for this kind of test.
nml375 wrote:speechles,
Just a question; is there any particular reason for returning 1 in the first place?
legacy. I wasn't the creator of this script (I've merely altered it unleashing it's strengths and turned on all the bells and whistles), the return 1 was incith's contribution (hence it still being named after him). In preserving as much of what he had as possible I've left it (this isn't speechles:google). It harms nothing having it there on an 1.6.17 eggdrop/windrop.
nml375 wrote:Also, your version-test would break on older eggdrops such as 1.6.9, since you are doing a string comparison. I'd rather recommend using numversion for this kind of test.
True, but in all honesty the script requires tcl8.4 or higher. Most bots compiled so long ago with 1.6.9 would need updating. But I do see your point and in the next release of this script your suggestion will be used. I was more into fixing it as quickly as possible and hadn't taken into account all the ramifications of the difference between the two. Now it is quite clear. Thanks for the advice.
Is this fixed as of the current version? I am having issues with logging myself...
<edit>
I tried disabling nearly all the other tcl files, and my logs still aren't logging anything (jkp) that is said in the room.... Thoughts?