README 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. * Set settings from inside the script
  17. The most important this 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 'users.cfg' file control a lot of things, like connecting nicks
  21. together, ignoring nicks in the stats, adding user pictures etc. There is
  22. more documentation in the users.cfg file.
  23. NOTE: The stats will look best with a logfile which is a least a day-long.
  24. Some stats (like smilies, exclamation marks etc) doesn't get counted before
  25. a special amount of time.
  26. Also, pisg supports multiple languages so you're text will be in your own
  27. language; English, German, Danish and French is supported at the moment and
  28. can be set with the $lang variable in the script.
  29. You're welcome to translate pisg to your own language, it's not very hard,
  30. look in the bottom of pisg.pl!
  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. If you have more than one channel, then you can also tell it to pisg on the
  38. commandline, the syntax is explained when doing:
  39. $ ./pisg.pl --help
  40. For example the following would work:
  41. $ ./pisg.pl -c \#channel -l logfile.log -f mIRC -o index.html
  42. Try it out.
  43. Setting settings on commandline, will override the relevant settings in the
  44. script.
  45. CONTACT INFORMATION
  46. -------------------
  47. If you have any problems with setting up or running this script, please
  48. don't hesitate to contact me. I can either be via e-mail (morten@wtf.dk) or
  49. via ICQ (6681780).
  50. The pisg homepage is located at http://www.wtf.dk/hp/index.php?page=pisg.
  51. If you use this script, and have a permanent URL for the location of your
  52. generated stats, I would be delighted if you would send the url to me. Just
  53. to see how many people uses it, and so I can link to it from my pisg page.
  54. Have fun :)
  55. - Morten 'LostStar' Brix Pedersen <morten@wtf.dk>