You could just make the IRCLOGS.txt $chan $+ .txt so that it writes a log for the channel. (Late on the response)