HostClean ========= HostClean helps tidy up old entries in your bot for users hostmasks. First, run log files (e.g. from your client) through `parse.py` - expects lines to have something matching "`joins (user@hostname)`" (or `quits`). Outputs user@host entries, one per line, for the TCL script. Run it many times and concatenate the output, then use sort and uniq to sanitise. Something like this: ```bash $( for f in "#channel.*.log"; do python parse.py "$f"; done ) | sort | uniq > hosts.txt ``` Then load the TCL script into your bot, and run `.hostload `, and then do `.hostclean ` for each user. The script outputs a bunch of `.-host` lines on the partyline, which you should double check, and then you can copy/paste them back into the partyline to execute them.