egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pisg Top Lines and Daily, Weekly, Monthly and Yearly stats?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
marvz
Halfop


Joined: 18 Jun 2010
Posts: 64

PostPosted: Sat Aug 21, 2010 5:24 pm    Post subject: Pisg Top Lines and Daily, Weekly, Monthly and Yearly stats? Reply with quote

I setup pisg and its running fine. I happened to be checking out the examples page that they have and looked at this page: http://www.df7cb.de/irc/pisg/pisg-month.html I want to created the pages to monitor the dailt/weekly/monthly/yearly for my stats page but I can't figure it out. ANy help on this one would be greatly appreciated!

Code:
OutputTag
Name
OutputTag -- tag to insert into OutputFile
Synopsis

     
        <channel="#channel">
         LogDir = "logs/"
         Format = "eggdrop"
         OutputFile = "mychan%t.html"
         OutputTag = "-week"
        </channel>

        <set OutputTag="-week">
     
   

Description

OutputTag specifies a string that will replace occurrences of "%t" in OutputFile. This option is most useful when used as a command line switch (-t) to pisg in conjunction with NFiles (-nf). Example:

     
      $ pisg -co pisg.conf
      $ pisg -co pisg.conf -nf 8 -t -week
     
   

Leaving out the OutputTag settings from the above pisg.conf snippet, this writes both the full statistics (mychan.html) and statistics for the last week (mychan-week.html) using the same pisg config file. (Assuming that there are separate logfiles for each day.)
Default

unset

NFiles
Name
NFiles -- parse only the last files in LogDir
Synopsis

     
        <channel="#channel">
         LogDir="/home/foo/eggdrop/logs/"
         NFiles="8"
         Format="eggdrop"
        </channel>

        <set NFiles="8">
     
   

Description

When NFiles is set to a positive integer, pisg will process only the last that much logfiles from Logfile and LogDir options. Useful to create statistics that cover the last week or month (assuming there are separate logfile per day/week/etc.).
Default

0 (process all files)


Also, by default the script orders the nicks by the Top Words rather than the Top Lines. Is there a way to have it order the nicks by Top Lines rather than top words?

Thanks in advance for any suggestions/help.[/code]
Back to top
View user's profile Send private message
devilsoulblack
Halfop


Joined: 19 Nov 2003
Posts: 62
Location: Chile

PostPosted: Mon Sep 13, 2010 7:20 pm    Post subject: Reply with quote

go to http://pisg.sourceforge.net/docs/ and read about =)
_________________
---------
Add [SOLVED] to the thread title if your issue has been.
Search - FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber