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

	<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>2008-12-27T10:24:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2008-12-27T10:24:52-04:00</updated>

		<published>2008-12-27T10:24:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86545#p86545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86545#p86545"/>
		<title type="html"><![CDATA[question about colours and variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86545#p86545"><![CDATA[
<a href="http://tclhelp.net/#faqcolor" class="postlink">http://tclhelp.net/#faqcolor</a><br><br>If you want to make life simple on yourself, use a proc to bold/etc text, such as:<div class="codebox"><p>Code: </p><pre><code>proc bold {text} {  return "\002${text}\017"}putserv "PRIVMSG $chan :[bold "this text is bold!"]"</code></pre></div>Note \017 is "reset", as in for everything (color, bold, underline).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Sat Dec 27, 2008 10:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-12-27T10:14:47-04:00</updated>

		<published>2008-12-27T10:14:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86544#p86544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86544#p86544"/>
		<title type="html"><![CDATA[question about colours and variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86544#p86544"><![CDATA[
thnx a lot :DD do you know where i can find the code for bold and other fuction?<br><br><br>thnx again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Sat Dec 27, 2008 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-12-26T21:27:09-04:00</updated>

		<published>2008-12-26T21:27:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86538#p86538</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86538#p86538"/>
		<title type="html"><![CDATA[question about colours and variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86538#p86538"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set nick1 "\00304${nick}\003"if {[string equal [stripcodes bcruag $nick] $nick1]} {putlog "Equal :D"}{putlog "Not Equal :("}</code></pre></div>Use stripcodes, and definitely don't want to pad left/right with spaces. Stripcodes won't correct those spaces.<div class="codebox"><p>Code: </p><pre><code>set nick1 "\00304${nick}\003"</code></pre></div>Stripcodes will correctly return "Equal" with the code conditions above if it were built within a real procedure. Notice I've used braces to denote the variable name so the interpreter doesn't get confused because it's not spaced out as yours was. This also makes it easier to spot the variable name within a segement of escape codes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Fri Dec 26, 2008 9:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-12-26T17:56:18-04:00</updated>

		<published>2008-12-26T17:56:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86534#p86534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86534#p86534"/>
		<title type="html"><![CDATA[question about colours and variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86534#p86534"><![CDATA[
hello i want to ask something is is possible to set colour and something<br><br>like that :<br><br><br><br><br>set nick1 "\00304 $nick \003" and then if somewhere on proc the variable nick1 runs the \00304 $nick \003 == $nick ...?<br><br>i want to set one nick with colour and the result i want to be a colour but i dont want to set colour on the result variable but from begging<br><br><br>thnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Fri Dec 26, 2008 5:56 pm</p><hr />
]]></content>
	</entry>
	</feed>
