README 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. README, pisg - by me and others (see CREDITS file)
  2. ------------------
  3. pisg - Perl IRC Statistics Generator, is a Perl script which takes IRC
  4. logfiles and makes nice looking stats of them, which can be amusing to show
  5. for the users of your channel.
  6. The supported logfile formats is explained in the FORMATS file included with
  7. this distribution.
  8. If you don't have access to any of the clients/bots or you use some other
  9. IRC client/bot which isn't supported, then it's fairly easy to add support
  10. for a new IRC log format. Take a look at the source code or send me an
  11. e-mail with the logfile format.
  12. SETTING UP PISG
  13. ---------------
  14. It's quite simple to set up pisg. You have 2 choices:
  15. * Set settings from commandline (try pisg.pl --help)
  16. * Configure pisg from the pisg.cfg file (more flexible and configurable)
  17. The most important here is the name of the logfile, the maintainers name,
  18. and then the format of your logfile.
  19. You cannot set everything up on the commandline, only the important things.
  20. The 'pisg.cfg' file control a lot of things, you should read CONFIG-README.
  21. NOTE: The stats will look best with a logfile which is a least a day-long.
  22. Some stats (like smilies, exclamation marks etc) doesn't get counted before
  23. a special amount of time.
  24. Also, pisg supports multiple languages so you're text will be in your own
  25. language; look in lang.txt to see the supported languages. The language can
  26. be changed from within the pisg.cfg file.
  27. You're welcome to translate pisg to your own language, it's not very hard,
  28. look in the lang.txt file!
  29. And a last note: there is some graphics in the gfx/ folder which pisg uses,
  30. you should put these in the same directory as your stats files.
  31. RUNNING PISG
  32. ------------
  33. If you have setup everything inside the script, then you just need to run
  34. it. If you're on a Linux/Unix system, these steps should do the work:
  35. $ chmod +x pisg.pl
  36. $ ./pisg.pl
  37. Running pisg like this will just use the settings in pisg.cfg.
  38. If you have more than one channel, then you can also tell it to pisg on the
  39. commandline, the syntax is explained when doing:
  40. $ ./pisg.pl --help
  41. For example the following would work:
  42. $ ./pisg.pl -ch \#channel -l logfile.log -f mIRC -o index.html
  43. Try it out.
  44. Setting settings on commandline, will override the relevant settings in
  45. pisg.cfg.
  46. CONTACT INFORMATION
  47. -------------------
  48. If you have any problems with setting up or running this script. Then you
  49. can either send a mail to the pisg mailing list:
  50. http://lists.sourceforge.net/mailman/listinfo/pisg-general
  51. Or you can try contacting me personally via e-mail (morten@wtf.dk).
  52. The pisg homepage is located at http://pisg.sourceforge.net/.
  53. If you use this script, and have a permanent URL for the location of your
  54. generated stats, I would be delighted if you would send the url to me. Just
  55. to see how many people uses it, and so I can link to it from my pisg page.
  56. Have fun :)
  57. - Morten 'LostStar' Brix Pedersen <morten@wtf.dk>