<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/8050" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-08-05T06:49:00-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/8050</id>

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-05T06:49:00-04:00</updated>

		<published>2004-08-05T06:49:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39506#p39506</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39506#p39506"/>
		<title type="html"><![CDATA[irc2html]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39506#p39506"><![CDATA[
<blockquote class="uncited"><div>One question: what does colour code 19 refer to?</div></blockquote><div class="codebox"><p>Code: </p><pre><code>if {$colorNumber!=99} {set colorNumber [expr {$colorNumber%16}]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Aug 05, 2004 6:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darkie]]></name></author>
		<updated>2004-08-04T22:42:34-04:00</updated>

		<published>2004-08-04T22:42:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39496#p39496</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39496#p39496"/>
		<title type="html"><![CDATA[irc2html]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39496#p39496"><![CDATA[
One question: what does colour code 19 refer to?  My script gives any colour code other than 0-15 and 99 a RGB reading of FFFFFF.  if mIRC converts that into green, then I will fix it.  But since I don't have a copy of mIRC available at this present time, I will have to review this later.<br><br>EDIT: Also, I see that the change from one colour code to another erases the previous background setting if none is given the second time.  This will be fixed in a later version.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2746">darkie</a> — Wed Aug 04, 2004 10:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-04T07:35:17-04:00</updated>

		<published>2004-08-04T07:35:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39460#p39460</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39460#p39460"/>
		<title type="html"><![CDATA[You still have some work to do...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39460#p39460"><![CDATA[
<blockquote class="uncited"><div>It works... but it produces bulky code with redundant tags.  Mine does not (although the code produced may not be XML compatible)</div></blockquote>There's lots of stuff you seem to be ignoring in your version..like keeping the background color (unless reset by a \003 or \017), keeping both colors through reversed parts etc...<br><br>Converting: "\037\00301,04\002a\00319b\026\037\002c\026d\003e"<br><br>Yours (almost total failure): &lt;u&gt;&lt;span style='color: #000000; background: #FF0000;'&gt;&lt;b&gt;a&lt;/span&gt;&lt;span style='color: #FFFFFF;'&gt;b&lt;a style='color: #FFFFFF; background: #000000'&gt;&lt;b&gt;c&lt;a style='color: #FFFFFF; background: #000000'&gt;de&lt;/&gt;&lt;/span&gt;<br><br>Mine (correct, but some redundant tags): &lt;span style="text-decoration: underline"&gt;&lt;/span&gt;&lt;span style="text-decoration: underline; color: #000; background-color: #F00"&gt;&lt;/span&gt;&lt;span style="font-weight: bold; text-decoration: underline; color: #000; background-color: #F00"&gt;a&lt;/span&gt;&lt;span style="font-weight: bold; text-decoration: underline; color: #009300; background-color: #F00"&gt;b&lt;/span&gt;&lt;span style="font-weight: bold; text-decoration: underline; color: #FFF; background-color: #000"&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: #FFF; background-color: #000"&gt;&lt;/span&gt;&lt;span style="color: #FFF; background-color: #000"&gt;c&lt;/span&gt;&lt;span style="color: #009300; background-color: #F00"&gt;d&lt;/span&gt;e<br><br>Mine (with <a href="http://forum.egghelp.org/viewtopic.php?t=3926#17997" class="postlink">new regsub at the end</a>): &lt;span style="font-weight: bold; text-decoration: underline; color: #000; background-color: #F00"&gt;a&lt;/span&gt;&lt;span style="font-weight: bold; text-decoration: underline; color: #009300; background-color: #F00"&gt;b&lt;/span&gt;&lt;span style="color: #FFF; background-color: #000"&gt;c&lt;/span&gt;&lt;span style="color: #009300; background-color: #F00"&gt;d&lt;/span&gt;e<br><br>I could probably rewrite my script to be more efficient, but people who like colors on irc tend to like scripts that suck, so why bother <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Aug 04, 2004 7:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darkie]]></name></author>
		<updated>2004-08-04T03:41:00-04:00</updated>

		<published>2004-08-04T03:41:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39449#p39449</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39449#p39449"/>
		<title type="html"><![CDATA[irc2html]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39449#p39449"><![CDATA[
It works... but it produces bulky code with redundant tags.  Mine does not (although the code produced may not be XML compatible)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2746">darkie</a> — Wed Aug 04, 2004 3:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-04T02:31:42-04:00</updated>

		<published>2004-08-04T02:31:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39444#p39444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39444#p39444"/>
		<title type="html"><![CDATA[irc2html]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39444#p39444"><![CDATA[
...or you could try the one I made but never tested <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><a href="http://forum.egghelp.org/viewtopic.php?t=3926#17997" class="postlink">http://forum.egghelp.org/viewtopic.php?t=3926#17997</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Aug 04, 2004 2:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darkie]]></name></author>
		<updated>2004-08-03T21:45:31-04:00</updated>

		<published>2004-08-03T21:45:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39440#p39440</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39440#p39440"/>
		<title type="html"><![CDATA[irc2html]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39440#p39440"><![CDATA[
For those who remember, I needed a script to convert mIRC colour codes to HTML, and stdragon made one that didn't support background colours, I have now made one that does.<br><br>it is available at <a href="http://csusap.csu.edu.au/~amason09/irc2html.tcl.gz" class="postlink">http://csusap.csu.edu.au/~amason09/irc2html.tcl.gz</a> and (like most other TCL scripts out there) it is free to use.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2746">darkie</a> — Tue Aug 03, 2004 9:45 pm</p><hr />
]]></content>
	</entry>
	</feed>
