Hi, I used search but didn't find anything... so here I am.
Here's the question:
I have a TCL script that logs certain events into a file (*.txt). How could I make kind of a "stats" webpage that showed the content of that file, uploading eg. every 5 minutes??
I know this is possible, 'cause I often see websites showing IRC estatistics and channel logs from the last 2 mins. how do they do it?
I think you can find smth like that in tcl archive..Otherwise,you can use pisg,that is perl script which make good webpage stats..Something like this(this is mine stats,you can do much more with this script,it has lot of options) Click
Yeah I've been searching on the internet in the last hours and found this Pisg thing... but I guess it only works with certain system logs, as you can see in their website:
Supported logfile formats:
* X-Chat
* mIRC
* mIRC6
* Eggdrops
* bxlog for BitchX
* irssi
* virc98
* dancer
* Trillian
* Grufti
* mbot
* winbot
* zcbot
* muh
* energymech
* ircII
* psybnc
* ircle
* infobot
* axur
* bobot++
* oer
* perlbot
* Vision
* pircbot
* KVIrc
* HydraIRC
* sirc
* moobot
* supybot
* blootbot
* dircproxy
So it'll mess up with a file that isn't a proper log, because the file I want to show is not a log from a channel, it's something that the bot writes to a file when someone triggers a command :S
I figured out that what I really wanted is to read the content of a certain *.txt file that the bot writes to into a common hmtl webpage, and that is not related to TCL or eggdrop, so sorry for the offtopic.