I run an eggdrop and iroffer bot, but in the most recent version of Iroffer (b05), they decided to get rid of the .xdcc log file, so I can't display my bot's packlisting via the internet.
I had an idea to get the feature back though. Basically, I am trying to write a script that every 5 minutes sends a PRIVMSG to the bot, and then when it obtains the notices, it stores them in a file.
Unfortunately, I can't even get the bot to message correctly. Here is an example of my code so far.
set channel "#point-blank"
set botname "Canti-sama"
bind time - "?0 * * * *" getxdcc
bind time - "?5 * * * *" getxdcc
proc getxdcc {n h handle ch te} {
global channel botname
foreach chan $channel {
utimer 5 {putserv "PRIVMSG $botname :xdcc list"}
}
}
If anyone can also offer ideas as to how to code the file storage part, it would be appreciated.