There is a suspicion (I helped Thunder get the basic setup in place) that a Windows Update has caused this, but no clue over which one (or ones) if that is the case.
I am not even going to ask why you want to do this, but ... just some comments: I would assign the chanlist nlist to a variable as it is possible (I am assuming) that as it has to be evaulated twice you could get a mismatch between the random number and the list of nicks. You do not seem to be avoid...
At a rough guess, and speaking as a self-taught , beginner tcl coder, I would say that you want to swap $body to $line in the regexp command as $line is the variable that changes with each iteration of the loop.
It may be just me (that or it's my paranoia) but you may want to do something with your $extra field in the way of quoting things like apostrophes, ec., in the input.
Sounds like a potential 'nasty' if anyone gets hold of that mail address and starts spamming it ... One avenue of approach (assuming a Unix mail account) would be to manually process the mail file directly. Just off the top of my head you would probably want a mix of shell/tcl to handle it: the shel...
I, too, am in the UK, but I was too polite to point out that TZ issue But, is it an issue? You are visiting the bot (in effect), therefore the bot is justified in using its local time for greeting.
Thank you Alchera and Sir_Fz - I do not think I have found all of those links as yet, so will go have a peek. My updates to the eggdrop I have inherited seem to be ok thus far, only a couple of um .... typos dropping in here and there.
Just a very silly thought on this ... how about using the command to shell out and run an OS sommand - is it exec? - and invoking the diff command? Why reinvent the wheel?