An idea to consider -kherlis wrote:Hi,
I couldn't find the help I need anywhere on the forum, so apologies if this is obvious...
I've configured my eggdrop to log what happens on the channel to file, it all works well but I'd like to be able to turn the logging off/on using DCC commands.
...
Code: Select all
logfile [<modes> <channel> <filename>]
Description: creates a new logfile, which will log the modes given for the
channel listed. If no logfile is specified, a list of existing
logfiles will be returned.
"*" indicates all channels. You can also change the
modes and channel of an existing logfile with this command.
Entering a blank mode and channel ("") makes the bot stop
logging there.
Returns: filename of logfile created, or, if no logfile is specified, a list of
logfiles such as: {mco * eggdrop.log} {jp #lame lame.log}
but i wouldn't recommend doing it this way.Entering a blank mode and channel ("") makes the bot stop logging there.
Code: Select all
set owner "Bob"
Code: Select all
#unbind dcc n tcl *dcc:tcl