Has someone made a script to convert strings with mIRC colour codes into HTML? It's been done in mIRC, and I've heard it's been done in TCL, but I cannot find it? Has anybody done it or can somebody do it?
I need something that can convert strings with mIRC colour codes into HTML, changing colour codes into <font colour=xxxxxx>blah blah blah</font> is what I'm looking for here.
I am looking for a way to do this now, however, it's not as easy as I first thought.
The problem with mIRC colour codes, they can take a while to parse in pure Tcl, using string commands. So I am looking to modify my eegexp for stripping, to extract the details, then convert it to a code.
It doesn't support background colors right now but it's not too hard to add. I guess the best way would be to <span style='background-color: blah; color: blah'>blah blah</span> right?
It doesn't support background colors right now but it's not too hard to add. I guess the best way would be to <span style='background-color: blah; color: blah'>blah blah</span> right?
This looks good, would it be cool if I used this in my script? I wouldn't like to be using it without your permission, being the author and all.
THe whole idea behind a public forum, si that if information becomes available, and viewable byt he public, it becomes public domain, though there may be licence restrictions.
The only thing I can sugest, is you make a note in your script, who contributed code, and that anybody ripping your, must continue to note the contribution.
If you ever find code made public here, simply make a referance to the author.