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

	<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>2003-08-08T13:54:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-08-08T13:54:00-04:00</updated>

		<published>2003-08-08T13:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24578#p24578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24578#p24578"/>
		<title type="html"><![CDATA[hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24578#p24578"><![CDATA[
the md5 leaves ""<br><br>and the encoding do not return the chan name =\<br><br>is there a command like md5 just for ascii?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Fri Aug 08, 2003 1:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-08-08T12:21:22-04:00</updated>

		<published>2003-08-08T12:21:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24577#p24577</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24577#p24577"/>
		<title type="html"><![CDATA[Re: hmm...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24577#p24577"><![CDATA[
<blockquote class="uncited"><div>the md5 is "working" but when I try to get the var, it says blank (not NULL)</div></blockquote>Huh? "" or the word "blank"?<br><br>[encoding convertfrom [encoding system] $channel] should be == the channel name read from the file. This converted channel name should appear correctly in data sent to irc/files, but not in dcc chat (iirc). <br><br>Since reading the file using the right encoding seems impossible, this ugly hack might be your only choice :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Aug 08, 2003 12:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-08-08T11:08:29-04:00</updated>

		<published>2003-08-08T11:08:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24576#p24576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24576#p24576"/>
		<title type="html"><![CDATA[hmm...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24576#p24576"><![CDATA[
I tried both of them<br>your idea didn't work at all...<br>and the md5 is "working" but when I try to get the var, it says blank (not NULL)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Fri Aug 08, 2003 11:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-08-08T09:55:09-04:00</updated>

		<published>2003-08-08T09:55:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24573#p24573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24573#p24573"/>
		<title type="html"><![CDATA[Re: hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24573#p24573"><![CDATA[
<blockquote class="uncited"><div>thanks but<br>someone have other idea's please?</div></blockquote>You don't seem capable of trying out the solutions suggested to you, so why bother asking? This is the 3rd time you start a thread about this subject and I already gave you a working solution in the previous thread. (if you'd care to try it).<br><br>It seems like the problem occur when reading the hebrew variable names from the file, so the problem must be caused by using the wrong encoding when reading the file.<br><br>And btw: you can use 'lappend' no matter what...'linsert' is slower and using it like you do makes no sense.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Aug 08, 2003 9:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-08-08T08:58:10-04:00</updated>

		<published>2003-08-08T08:58:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24572#p24572</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24572#p24572"/>
		<title type="html"><![CDATA[hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24572#p24572"><![CDATA[
thanks but<br>someone have other idea's please?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Fri Aug 08, 2003 8:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-08-08T08:44:52-04:00</updated>

		<published>2003-08-08T08:44:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24571#p24571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24571#p24571"/>
		<title type="html"><![CDATA[arrays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24571#p24571"><![CDATA[
One possability is to use a english value for the array item.<br><br>Somthing like<br><div class="codebox"><p>Code: </p><pre><code>set item [md5 [string tolower $channel]]set array($item) $value</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Aug 08, 2003 8:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-08-08T07:54:51-04:00</updated>

		<published>2003-08-08T07:54:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24570#p24570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24570#p24570"/>
		<title type="html"><![CDATA[hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24570#p24570"><![CDATA[
hmm... the var is something info by two possibilties:<br>adding with a command, when the egg get a command<br>if the array in the item is empty it uses <br>lappend opes($chan) "something"<br>if it's not empty:<br>set opes($chan) [linsert $opes($chan) end "something else"]<br><br>the second possibility is when the egg load it takes the info from a file db<br>which contains like the following:<br>set opes(#Help) {<br>"something"<br>"something else..."<br>}<br>In english channel names it works great, in hebrew chan names not.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Fri Aug 08, 2003 7:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-08-08T07:41:08-04:00</updated>

		<published>2003-08-08T07:41:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24567#p24567</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24567#p24567"/>
		<title type="html"><![CDATA[arrays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24567#p24567"><![CDATA[
Have you inserted the something-english-or-hebrew in " like "something-english-or-hebrew"? And how exactly do you call that array?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Aug 08, 2003 7:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-08-08T05:01:33-04:00</updated>

		<published>2003-08-08T05:01:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24565#p24565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24565#p24565"/>
		<title type="html"><![CDATA[arrays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24565#p24565"><![CDATA[
I try to make an array, the array name is in english,<br>the array item is a channel in hebrew...<br>for some reason when I try to reach the var in that array item<br>it get nothing, it says it not exist<br><br>is there a problem with arrays items and languages?&gt;<br><br>arrayname($hebchan) something-english-or-hebrew<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Fri Aug 08, 2003 5:01 am</p><hr />
]]></content>
	</entry>
	</feed>
