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

	<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-07-23T01:49:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-07-23T01:49:27-04:00</updated>

		<published>2003-07-23T01:49:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23821#p23821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23821#p23821"/>
		<title type="html"><![CDATA[It's not written there]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23821#p23821"><![CDATA[
I don't have that command in the file...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Wed Jul 23, 2003 1:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-21T11:07:04-04:00</updated>

		<published>2003-07-21T11:07:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23749#p23749</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23749#p23749"/>
		<title type="html"><![CDATA[Hello,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23749#p23749"><![CDATA[
Consult the tcl-commands.doc file as I've sugested.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jul 21, 2003 11:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-07-20T17:10:32-04:00</updated>

		<published>2003-07-20T17:10:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23722#p23722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23722#p23722"/>
		<title type="html"><![CDATA[not working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23722#p23722"><![CDATA[
the setudef is not working... with what you wrote...<br>I didn't really understand how to use the encoding command... if someone can explain please,<br>and other idea's will also help<br><br>thanks all<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Sun Jul 20, 2003 5:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-07-20T15:39:46-04:00</updated>

		<published>2003-07-20T15:39:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23718#p23718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23718#p23718"/>
		<title type="html"><![CDATA[Hello,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23718#p23718"><![CDATA[
Whatever you store in your list, you can also store with channel set and retrieve with channel get. Of course, you don't have to do this. Have you looked at the encoding command? Check docs at <a href="http://www.tcl.tk" class="postlink">www.tcl.tk</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Jul 20, 2003 3:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-07-20T15:17:26-04:00</updated>

		<published>2003-07-20T15:17:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23717#p23717</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23717#p23717"/>
		<title type="html"><![CDATA[but will it bring me the info from the list?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23717#p23717"><![CDATA[
Because I need to use the list... not other formats<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Sun Jul 20, 2003 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-20T08:28:05-04:00</updated>

		<published>2003-07-20T08:28:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23704#p23704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23704#p23704"/>
		<title type="html"><![CDATA[Hello,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23704#p23704"><![CDATA[
Use that "if" inside the proc to see if that channel has the specified channel flag. Read in the tcl-commands.doc file the coments about the "setudef". By default is set to 0, as disabled.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Jul 20, 2003 8:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-07-20T02:08:12-04:00</updated>

		<published>2003-07-20T02:08:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23691#p23691</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23691#p23691"/>
		<title type="html"><![CDATA[hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23691#p23691"><![CDATA[
I need to leave the flag word or change it?<br>and the setudef is suppose to come before the if or out of code?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Sun Jul 20, 2003 2:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-20T01:27:09-04:00</updated>

		<published>2003-07-20T01:27:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23690#p23690</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23690#p23690"/>
		<title type="html"><![CDATA[Hello,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23690#p23690"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>setudef flag cbotif {![channel get $chan cbot]} { ... } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Jul 20, 2003 1:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-07-20T00:45:50-04:00</updated>

		<published>2003-07-20T00:45:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23689#p23689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23689#p23689"/>
		<title type="html"><![CDATA[ok, thanks but some questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23689#p23689"><![CDATA[
hmm what is the encoding command? never heard of it =\<br>and also setufed how do I use it<br>and the channel get will get the information from the list?<br><br>and<br>thank you very much<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Sun Jul 20, 2003 12:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-07-19T18:12:28-04:00</updated>

		<published>2003-07-19T18:12:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23687#p23687</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23687#p23687"/>
		<title type="html"><![CDATA[Hello,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23687#p23687"><![CDATA[
So you're not using your own hebrew variable, you're using one passed from an eggdrop bind.<br><br>Most likely, the problem is that when you set the variable in your script, it's using the utf-8 encoding, but when eggdrop creates the variable for the bind, it's not. Try using the tcl "encoding" command to convert the hebrew value.<br><br>Maybe a better, easier approach, is to use setudef to store information about each channel. That way, instead of<br><br>if {![info exists cbot($chan)]} { ... }<br><br>you can say<br><br>if {![channel get $chan cbot]} { ... }<br><br>which should work better.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Jul 19, 2003 6:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-07-19T17:11:02-04:00</updated>

		<published>2003-07-19T17:11:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23684#p23684</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23684#p23684"/>
		<title type="html"><![CDATA[I'v already shown an example]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23684#p23684"><![CDATA[
if {(![info exists cbot([strlwr $target])])} { ....<br>if the $target is hebrew chan, it will show always true..., that no info exists in there, but the info is there...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Sat Jul 19, 2003 5:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-07-19T15:28:29-04:00</updated>

		<published>2003-07-19T15:28:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23680#p23680</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23680#p23680"/>
		<title type="html"><![CDATA[Hello,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23680#p23680"><![CDATA[
In my tests, "info exists" works perfectly no matter what the value of the variable is. So you must be doing something else wrong. Maybe you can paste some actual code, with the values you use, and show us.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Jul 19, 2003 3:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-07-19T15:11:54-04:00</updated>

		<published>2003-07-19T15:11:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23678#p23678</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23678#p23678"/>
		<title type="html"><![CDATA[hmm... to specify]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23678#p23678"><![CDATA[
The var of the list is in english, the lines of the list are in english and hebrew chans, and the contents are or in english or in hebrew<br>and if it is a hebrew chan, in info exists, or when I try to reach the value,<br>it say it's empty, anyone has answer please?<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Sat Jul 19, 2003 3:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snapple]]></name></author>
		<updated>2003-07-19T00:48:39-04:00</updated>

		<published>2003-07-19T00:48:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23660#p23660</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23660#p23660"/>
		<title type="html"><![CDATA[hmm..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23660#p23660"><![CDATA[
yeah, there is global, I forgot to mention it's a list,<br>I mean a($hebchanvar) and inside it there is another value...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3524">Snapple</a> — Sat Jul 19, 2003 12:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-07-18T22:06:23-04:00</updated>

		<published>2003-07-18T22:06:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23654#p23654</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23654#p23654"/>
		<title type="html"><![CDATA[Hello,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23654#p23654"><![CDATA[
It doesn't matter what is stored in the variable, info exists will work if you are using it correctly. Make sure if it's a global variable that you used the "global" command before "info exists".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Jul 18, 2003 10:06 pm</p><hr />
]]></content>
	</entry>
	</feed>
