| View previous topic :: View next topic |
| Author |
Message |
amorpheous Voice
Joined: 19 May 2007 Posts: 7
|
Posted: Sun Nov 11, 2007 1:53 pm Post subject: Logging problems |
|
|
Hey people,
This started back in July when my shell was moved to a different server. Everything else was working fine after the move until I noticed (a few months later) that my pisg stats weren't being compiled properly. When I looked into it, I found that even though I have jpk flags enabled for the logfile, it's only logging joins, parts, quits and actions (/me messages), but not actual channel talk.
I've tried switching off quick-logs and I've also removed the pid file and restarted the bot.
Does anyone have any idea what the problem could be?
Thanks in advance,
-amorpheous |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Nov 11, 2007 5:00 pm Post subject: |
|
|
Check your scripts and see if there's any pubm bind returning 1, this causes the message not being logged. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
amorpheous Voice
Joined: 19 May 2007 Posts: 7
|
Posted: Sun Nov 11, 2007 9:10 pm Post subject: |
|
|
Thanks Sir_Fz. Found "pubm" in a few scripts and disabled them one by one in eggdrop.conf. After disabling xchannel.tcl, channel talk was being logged again. However, I'd still like to use xchannel.tcl. Is there any way it can be fixed? I'm a novice when it comes to Tcl.
Here's the offending code:
| Code: | [ammaar@amber:~/eggdrop]$ grep pubm scripts/xchannel.tcl
set conf1g(repeat) {pubm w:k:b 1 10 "repeating is lame"}
set conf1g(color) {pubm w:k:b 1 10 "no colors"}
set conf1g(spam) {pubm w:k:b 1 10 "spam"}
set conf1g(caps) {pubm w:k:b 1 10 "caps off"}
set conf1g(bad) {pubm w:k:b 1 10 "do not curse"}
variable mbinds {join part nick pubm} |
|
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Nov 11, 2007 11:17 pm Post subject: |
|
|
Make posts regarding xchannel.tcl to the Universal channel script support forum. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Nov 12, 2007 5:25 pm Post subject: |
|
|
You can search within the pubm procedures for statements that are possibly returning 1 (such as "return 1"). These are usually at the end of a procedure. If you're not familiar with Tcl then Alchera's suggestion is your best bet. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|