hmm. why is it horribly coded? only thing i can see that he left out was the switch to turn the groups on and off.. its short.. its in a txt file allowing unlimited storage.. ohhh hang on now i know why... its not complicated enough for ya.. All said and done at the end of the day.. its simple code for a simple job and works extremely well for what it does as backup security.. good job
:) not once they part the channel.. it will be replaced with \'Leaving $chan\' or \'Quitting IRC with this message\' it doesn\'t log under your name if you were the one being banned or kicked.. You\'ve just got this code in there really doing nothing.. but if thats what you want.. more power to you.. just trying to give you a heads up on it.. could be a good script made even better.
yep checked it, I noticed as i said, doesn\'t show following messages, opping, voicing, banning etc.. only your basic checks for yourself, the person themselves and on channel.. joins, parts, nick and quits.. :) just reqork the \'if ($2 ison #) {\' part in the \'on text\' event to fix this. and it will be a good script snippet :)
just looking at your script, it appears everything other than the join, part, nick and quit is irrelevant as you have \'if ($2 ison #) {\' in the \'on text\' event. It will override any messages where the bot and user are on the same channel. When the user parts or quits those other messages are replaced. just an observation, but could attapt this to a logging script.