This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

logging outgoing private msgs

Old posts that have not been replied to for several years.
Locked
R
Roze

Post by Roze »

Is there a way to log outgoing msgs..

The point is that I am running eggdrop with megahal so there is need to log private speaches..
is there a way to catch besides incoming also otgoing (.tcl putserv "PRIVMSG nickname :some text" should be catched) msgs from eggdrop..
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Yes and no.

You could create a script that would replace the internal puthelp, putserv and putquick commands. This would allow you to log messages sent use these command in a script.

But you would need knowledge of C to do the same thing to a module, so that it's output is logged.
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

There is a special flag that lets you log all server output. That should do the trick.

You have to .set debug-output 1
then .console +v

I imagine you can use the v flag with the logfile command, as well, as long as debug-output is 1.
R
Roze

Post by Roze »

Ok thanks..
Probably its easier in such way.
Locked