1. Mikko Ahlroth
  2. mIRCStats config

Overview

HTTPS SSH

This is my mIRCStats configuration repository. It contains all my config files for creating all-time and monthly stats from a number of channels. I'm using WeeChat for gathering the channel logs. These config files take advantage of the fact that you can tell mIRCStats to use many config files and that options in later files overwrite any earlier ones.

I run mIRCStats with wine on a headless Arch server. As an example, my crontab entry for #php is as follows:

0 * * * * timeout -s TERM -k 1m 15m xvfb-run wine 'C:\Program Files\mIRCStats\mircstats.exe' -log 'logs/*#php.*' -cfg settings.cfg -cfg settings_en.cfg -cfg settings_php.cfg -cfg settings_js.cfg -cfg settings_nicd.cfg -html 'root\var\www\irc\php.html' > /dev/null 2>&1
5 * * * * timeout -s TERM -k 1m 15m xvfb-run wine 'C:\Program Files\mIRCStats\mircstats.exe' -log 'logs/*#php.*' -cfg settings.cfg -cfg settings_en.cfg -cfg settings_php.cfg -cfg settings_js.cfg -cfg settings_monthly.cfg -cfg settings_nicd.cfg -html 'root\var\www\irc\php-month.html' > /dev/null 2>&1

Do note that all mIRCStats config files must have CRLF line endings, or they will not work. I use the program 'todos' to convert my files.