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

	<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>2013-10-01T03:24:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2013-10-01T03:24:12-04:00</updated>

		<published>2013-10-01T03:24:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102078#p102078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102078#p102078"/>
		<title type="html"><![CDATA[[Solved] color codes not interpreted but displayed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102078#p102078"><![CDATA[
MenzAgitat gaves me the solution on my forum: join the line. And it works fine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Oct 01, 2013 3:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2013-09-30T13:41:42-04:00</updated>

		<published>2013-09-30T13:41:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102077#p102077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102077#p102077"/>
		<title type="html"><![CDATA[[Solved] color codes not interpreted but displayed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102077#p102077"><![CDATA[
Escape sequences are never substituted when reading a file. If you trust the contents of the file to be safe, you could use subst to do the substitutions...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Sep 30, 2013 1:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2013-10-01T03:24:36-04:00</updated>

		<published>2013-09-30T08:17:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102075#p102075</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102075#p102075"/>
		<title type="html"><![CDATA[[Solved] color codes not interpreted but displayed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102075#p102075"><![CDATA[
Hello there,<br><br>I've a small tcl containing sentences with color code, as : "\0034Alert\003 : error in code"<br><br>These sentences are loaded in an array in my script, but when the line is used by my script, I get the color code in the channel.<br><br>Here is the way I load the sentences:<div class="codebox"><p>Code: </p><pre><code>proc file:load {} {    set jp [open $::filename "r"]    set jdata [read -nonewline $jp]    close $jp    set ::j_list ""    foreach templine [split $jdata "\n"] {        set line [split $templine "="]        set jkey [string tolower [lindex $line 0]]        lappend ::j_list $jkey        set ::key_gen($jkey) [lindex $line 1]        bind pubm - "*:$jkey*" file:display    }}</code></pre></div>Any idea about this "bug" ?<br><br>[EDIT]<br>Making a small test, error appears when getting datas from a file. Seems to be an escape of \ ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Sep 30, 2013 8:17 am</p><hr />
]]></content>
	</entry>
	</feed>
