<?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/2264" />

	<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>2002-08-02T08:22:39-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-02T08:22:39-04:00</updated>

		<published>2002-08-02T08:22:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9379#p9379</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9379#p9379"/>
		<title type="html"><![CDATA[Colors!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9379#p9379"><![CDATA[
Thank you very much! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Fri Aug 02, 2002 8:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-08-02T07:47:05-04:00</updated>

		<published>2002-08-02T07:47:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9377#p9377</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9377#p9377"/>
		<title type="html"><![CDATA[Colors!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9377#p9377"><![CDATA[
Use fully qualifying colour codes.<br><br>IE.<br>IRC Colour codes use upto a 6 characters.<br>Char 1 = Colour code designator (Ascii code 003)<br>Char 2 &amp; 3 = Forground colour code (See below colour chart)<br>Char 4 = Seperator (Comma - ascii code 044)<br>Char 5 &amp; 6 = Backgroud colour code (See below colour chart)<br><br>Forground and background colour codes can be shortened to single codes.<br><br>There is no need to specify the background colour code, thus this can shorten it down to a minimum of 3 characters.<br><br>The following are the colour codes used in mIRC. However, they should apply to most clients (using double digit codes - as noted above, you can specify then as a single digit, if the first digit is 0)<br><br>0 White<br>1 Black<br>2 Blue<br>3 Green<br>4 Light Red<br>5 Brown<br>6 Purple<br>7 Orange<br>8 Yellow<br>9 Light green<br>10 Cyan<br>11 Light Cyan<br>12 Light Blue<br>13 Pink<br>14 Grey<br>15 Light Grey<br><br>In mIRC, but unknown in other clients, you can then start the sequence again, from 16, once to the end, start again and so on. EG 0 = White, 16 = White, 2 = Blue, 18 = Blue.<br><br>Again in mIRC, and unknown in other clients, you can use the colour code 99 to induce a transparrent colour.<br><br>This is the code you should want, to make a fully qualifying colour code, while not breaking the text in scripts.<br><br>EG.<br><br>For Blue text use "\00302,99"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Aug 02, 2002 7:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-02T07:14:33-04:00</updated>

		<published>2002-08-02T07:14:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9376#p9376</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9376#p9376"/>
		<title type="html"><![CDATA[Colors!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9376#p9376"><![CDATA[
Yo!<br>I'm writing a script that will output some text to a user.<br>It also takes input from a user, and can display this too.<br>The problem arises when I want to color the output a bit.<br>Since the output contains numbers, the script "includes" the number in the color code. This is even more troublesome, since some of the variables it outputs sometimes contains numbers too.<br>Is there any way to "end" a color code, or some other solution?<br><br>For example, I want the script to output: "blah \0033$var\003", where $var = "0". For now I simply put a space between the color code and the variable.. but I would like a better solution.<br>Thanks in advance for any help. :]<p>Statistics: Posted by Guest — Fri Aug 02, 2002 7:14 am</p><hr />
]]></content>
	</entry>
	</feed>
