Place the pisg-new.tcl script in your eggdrops tcl directory usually scripts/ and add it to the end of the eggdrop.config. Edit pisg-new.tcl to suite your needs and edit generate_logs. chmod +x generate_logs and copy it to your pisg directory. !stats will show the url for the stats. if $statsnick is set it will only generate when $statsnick requests !stats. Otherwise it will just show the url.