Ahh ok.. As I recall, trying to use escape codes in a regsub using the & subs, doesn't work, hence having to use embedded code (which I generally dislike and avoid, however it didn't work for this case, iirc.)
>> This directly stems from using *.tcl.txt to name the script, the browser will display these itself.
Actually, dandy.net has a badly configured webserver, their mime-types is not right, so if I did not use the .txt extension, your browser would get text anyway, but cooked/line-wrapped (their server sends a lot of stuff as text, regardless of extension. Getting them to fix it is an exercise in futility - it took months for them to even add .rar as a compressed archive type to their mime-types, despite many email complaints about the problem from me. Ever have a webserver send binary data as text? It's not pretty and you can't save it.) Browsers depend on the Content-Type string sent by the server, they don't generally rely on file extensions to determine anything. If Apache's default is content-type - ascii, you'll get cooked [edit] content, for every file extension not specifically defined in the sever's mime-types [edit2] which would mean even those embedded control codes (bolds) would be cooked. so if you did try saving it, it would be broken. So, yes, the simple solution is to either download the script by right-clicking the link, or download from the tcl archive.
>> Calling windrop inferior rather than investigate your own code is just silly.
I view tcl & eggdrop as primarily unix based, so any incompatibilities between the scripts I write for linux/tcl/eggdrop, and windrop, are beyond my control. Feel free to adapt the script to suit your platform. I don't think its fair to blame my script, which is written to the best standards of my abilities (which may not be saying much) for platform-specific problems on platforms I don't use or test on (nor for which tcl & eggdrop were designed.)
I always recommend windows users to install cygwin, if they want a genuinely unix-like environment (short of installing linux or bsd.) And that remains my solution to any platform-specifc problems such as this
![Smile :)](./images/smilies/icon_smile.gif)