Code: Select all
#!/bin/sh
statsbin="./pisg"
statpath="/home/wombles/public_html/chanstats"
cd $statpath
$statsbin
Code: Select all
0 0 * * * ~/public_html/chanstats/pisgchek >/dev/null 2>&1
Code: Select all
# Config file for pisg (set up all your channels/logfiles here)
#
# For a list of all configuration options, see docs/pisg-doc.txt or
# docs/html/index.html for a HTML version.
#
# Here is some basic examples, uncomment them to make them actually do
# something.
#
<set NickTracking="1">
#
<user nick="Alchera" alias="Alcher* Barry Bazza EnfieldPuffing" link="http://www.ballarat.us/" sex="m">
<user nick="Almozo" alias="Almozo* Al_Cheri Almacherzo" link="http://www.ballarat.us/" sex="f">
<user nick="Ballarat" sex="m">
<user nick="Enfield" sex="m">
<user nick="Natale" sex="m">
<user nick="Ricochet" alias="MovingShadow MShadow* Ric*" link="http://www.sjh-online.co.uk/" sex="m">
#
# <set FoulWords="ass bitch [censored]" Maintainer="SomeMaintainer">
#
<channel="#Ballarat">
LogDir="/home/wombles/bots/stats/"
Format="eggdrop"
Network="DALnet"
Maintainer = "Alchera"
OutputFile="index.html"
ShowWpl = "1"
ShowCpl = "1"
ShowWords = "0"
ShowLastSeen = "0"
ShowVoices = "1"
ShowMostNicks = "1"
MostNicksVerbose = "0"
ShowMostActiveByHour="1"
ShowMostActiveByHourGraph="1"
</channel>
#
<set PicLocation="gfx/">
And the results of the above can be found here.logfile mbco * "logs/natale.log"
logfile jpk #Ballarat "stats/ballarat.log"