This is a python script that converts the IRC logs generated by the Bip IRC bouncer to the Energymech format used by ZNC.
The reason for this converter is to enable logs generated by Bip to be used with pisg for stats building.
- Edit setup.cfg
Option name | What does it do? |
---|---|
input = | contains the full path to the folder holding the bip IRC logs |
output = | contains the full path of the folder where the energymech logs will be saved to |
- Run convert.py
-
Version 1.2 searches for logs recursively; you can now have subfolders in the input folder.
-
Version 1.1 now supports bans and unbans.
-
Version 1.0 doesn't know how to parse bans. If you happen to have a bip IRC log containing a ban and unband please let me know so I can update the script.