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

	<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-09T22:03:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-08-09T22:03:15-04:00</updated>

		<published>2004-08-09T22:03:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39656#p39656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39656#p39656"/>
		<title type="html"><![CDATA[problem with £]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39656#p39656"><![CDATA[
solved the problem, used a wildcard character (?) to replace the single character that was causing the problem<br><div class="codebox"><p>Code: </p><pre><code>[string match "a?goeshere" "a£goeshere"]</code></pre></div><p>Statistics: Posted by Guest — Mon Aug 09, 2004 10:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-04T02:33:27-04:00</updated>

		<published>2004-08-04T02:33:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39445#p39445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39445#p39445"/>
		<title type="html"><![CDATA[problem with £]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39445#p39445"><![CDATA[
sounds like you've got an encoding problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Aug 04, 2004 2:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-08-04T01:22:32-04:00</updated>

		<published>2004-08-04T01:22:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39443#p39443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39443#p39443"/>
		<title type="html"><![CDATA[problem with £]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39443#p39443"><![CDATA[
heh actually i wasn't thinking clearly and it still doesn't work...i just realized that it's only entering the if because it thinks the strings aren't equal<p>Statistics: Posted by Guest — Wed Aug 04, 2004 1:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-08-03T16:55:33-04:00</updated>

		<published>2004-08-03T16:55:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39428#p39428</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39428#p39428"/>
		<title type="html"><![CDATA[problem with £]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39428#p39428"><![CDATA[
changed it from:<br><div class="codebox"><p>Code: </p><pre><code>if {$chan == $chan1}</code></pre></div>to:<br><div class="codebox"><p>Code: </p><pre><code>if {[string compare -nocase $chan $chan1]}</code></pre></div>and it works now, thanks for the help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by Guest — Tue Aug 03, 2004 4:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-08-03T15:47:38-04:00</updated>

		<published>2004-08-03T15:47:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39427#p39427</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39427#p39427"/>
		<title type="html"><![CDATA[problem with £]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39427#p39427"><![CDATA[
nope, same problem.....i can change $chan1 to not include £ and it works, but as soon as it includes the symbol, nothing<p>Statistics: Posted by Guest — Tue Aug 03, 2004 3:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-08-03T15:05:39-04:00</updated>

		<published>2004-08-03T15:05:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39425#p39425</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39425#p39425"/>
		<title type="html"><![CDATA[problem with £]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39425#p39425"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#try changing this...if {$chan == $chan1} {#...to thisif {[string equal -nocase $chan $chan1]} { </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Aug 03, 2004 3:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-08-03T14:16:11-04:00</updated>

		<published>2004-08-03T14:16:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39422#p39422</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39422#p39422"/>
		<title type="html"><![CDATA[problem with £]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39422#p39422"><![CDATA[
i'm writing a script for a buddy of mine and the channel name has the £ in it....however, the tcl script i'm writing won't do anything because of the £.  here's a sample from the script:<br><div class="codebox"><p>Code: </p><pre><code>set chan1 "chan name omitted but contains two £"set chan2 "chan name omitted and contains no £"set msg1 "!test"bind pubm - * pubm:allproc pubm:all { nick uhost hand chan text } {  global chan1  global chan2  global msg1  if {$chan == $chan1} {    if {[lindex [split $text] 0] == $msg1} {      putserv "PRIVMSG $chan2 :$msg1"    }  }}</code></pre></div><p>Statistics: Posted by Guest — Tue Aug 03, 2004 2:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
