##### LOG FILES #####
# Eggdrop is capable of logging various things, from channel chatter to
# commands people use on the bot and file transfers. Logfiles are normally
# kept for 24 hours. Afterwards, they will be renamed to "(logfile).yesterday".
# After 48 hours, they will be overwritten by the logfile of the next day.
#
# Events are logged by certain categories. This way, you can specify
# exactly what kind of events you want sent to various logfiles.
#
# Logfile flags:
# b - information about bot linking and userfile sharing
# c - commands
# d - misc debug information
# h - raw share traffic
# j - joins, parts, quits, and netsplits on the channel
# k - kicks, bans, and mode changes on the channel
# m - private msgs, notices and ctcps to the bot
# o - misc info, errors, etc (IMPORTANT STUFF)
# p - public text on the channel
# r - raw incoming server traffic
# s - server connects, disconnects, and notices
# t - raw botnet traffic
# v - raw outgoing server traffic
# w - wallops (make sure the bot sets +w in init-server)
# x - file transfers and file-area commands
#
# Note that modes d, h, r, t, and v can fill disk quotas quickly. There are
# also eight user-defined levels (1-8) which can be used by Tcl scripts.
#
# Each logfile belongs to a certain channel. Events of type 'k', 'j', and 'p'
# are logged to whatever channel they happened on. Most other events are
# currently logged to every channel. You can make a logfile belong to all
# channels by assigning it to channel "*".
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
Hi, this is my first post here. i dug this thread up, because it is something i need to do now, but my problem is the following, i want to put the channel log online, and if possible include the bot speech in there aswell, once that code posted above logs what the bot says, but in a separate file.
You're looking for a channel stats script by the look of it. There's an excellent perl one called pisg available or, you may find a TCL script in the TCL Archive.
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
if {![isbotnick $nick]} { return } not if {![$nick == $botnick]} {return 0} fool, or even if {![string equal -nocase $botnick $nick]} { return } cos BLA ain't equal with bla or BLa and so on.
Once the game is over, the king and the pawn go back in the same box.
But after that i found another thing i wanted to get logged, the user executing the trigger, that is not logged.
If anyone can help me that way.
If i'm not wrong pisg generates stats, it's not what i want, just the logfile with every public messages, including, the users using the trigger and the bot answering, that's all.
caesar wrote:if {![isbotnick $nick]} { return } not if {![$nick == $botnick]} {return 0} fool
Totally appreciate this being pointed out; I'm takin it on faith that the word "fool" is not directed at me personally, but I am still very curious as to why it is there.....?
There's a raft of flags available that might help you.
Sorry, but i couldn't find a flag that allowed me to set the bot logging _everything_ in the channel, now what i'm needing is to log the user asking the trigger.
caesar wrote:heh, it's an expresion not something adressed directly to you personally.
ty caesar
OBcecado wrote:Hi, it's me again.
Sorry, but i couldn't find a flag that allowed me to set the bot logging _everything_ in the channel, now what i'm needing is to log the user asking the trigger.