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.

joinandpart.tcl - bot !joins, but doesn't log to sep. files

Old posts that have not been replied to for several years.
Locked
m
mickazoid

joinandpart.tcl - bot !joins, but doesn't log to sep. files

Post by mickazoid »

Hi there - apologies in advance if this belongs more in the eggdrop help forum.

- if I command my DevBot to join a channel using the 'joinandpart.tcl' script (which works divinely, by the way thanks Papillon), how can i ensure that the contents of that room will be logged in a separate log file, per room?

It connects, but seems to put all the stuff in the main log file I defined in 'eggdrop.conf'.

Do I need to put all log rooms in the eggdrop.conf file, or can I have the 'bot automatically create new logs for each chan that gets added to the .chan file?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Search for autolog in the Tcl archive.
m
mickazoid

Thanks - next phase...

Post by mickazoid »

Thank you, I've downloaded and installed it, i get the confirmation that the autolog.tcl loads at startup of the bot, and but no new logs are appearing in the folder (the other rooms' logs are updating, so it's not a perms issue).

Is there some kind of 'log' command I need to send to the 'bot? There's no mention in 'autolog' of such a beast.

Thank you!
m
mickazoid

Found it!

Post by mickazoid »

Found it.

That tricky last line of the logs section of eggdrop.conf, where you put the file path for the /logs file... :)

Thanks

:oops:
Locked