View Single Post
Old 12-14-2005, 06:24 PM  
PaRaNoiD_JaCK
Senior Member
 
Join Date: Mar 2005
Posts: 101
Default Daily Stats Message

I have a stats script running thats scheduled just to run before the newday. The following is from ioftpd.log


12-14-2005 23:58:55 DAYSTAT: "It's the Day's top 5 Leechers:"
12-14-2005 23:58:55 DAYSTAT: "1. ******with ***G at an average speed of ***kB/s."
12-14-2005 23:58:55 DAYSTAT: "2. ****** with ***G at an average speed of ***kB/s."
12-14-2005 23:58:55 DAYSTAT: "3. ****** with ***G at an average speed of ***kB/s."
12-14-2005 23:58:55 DAYSTAT: "4. ****** with ***G at an average speed of ***kB/s."
12-14-2005 23:58:55 DAYSTAT: "5. ****** with ***G at an average speed of ***kB/s."

I`ve added this to the alcobot.vars

[Variables]
DAYSTAT = message:z

And this to the theme file:

[Theme]
# ioFTPD events.
DAYSTAT = [b][[c3]FTP-STATS[c]][b] [b][[c1]%(section)[c]][b] %(message)

At the moment it fails to announce via alcobot. What have i done wrong here ?

PaRaNoiD_JaCK is offline   Reply With Quote