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

	<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-06-04T12:18:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-06-04T12:18:45-04:00</updated>

		<published>2003-06-04T12:18:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21238#p21238</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21238#p21238"/>
		<title type="html"><![CDATA[mysqltcl | eggdrop 1.6.15 | mysql max 4.0.13 binary-install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21238#p21238"><![CDATA[
The flatlist option is very helpful, however, is mainly only there as a compatability feature.<br><br>The "foreach" command, allows you to pick more than a single item from a list in one go<br><div class="codebox"><p>Code: </p><pre><code>set list {AAABACADBABBBCBDDADBDCDD}foreach {a b c d} $list {some code }</code></pre></div>You should get an idea of what flat list is for now. You can cycle through rows very qucily, with access to values instantly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Jun 04, 2003 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gk^]]></name></author>
		<updated>2003-06-04T08:02:11-04:00</updated>

		<published>2003-06-04T08:02:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21224#p21224</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21224#p21224"/>
		<title type="html"><![CDATA[mysqltcl | eggdrop 1.6.15 | mysql max 4.0.13 binary-install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21224#p21224"><![CDATA[
nevermind last post - i found that it just "pasted" a row into an index in the cute little list...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1656">gk^</a> — Wed Jun 04, 2003 8:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gk^]]></name></author>
		<updated>2003-06-04T07:46:06-04:00</updated>

		<published>2003-06-04T07:46:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21223#p21223</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21223#p21223"/>
		<title type="html"><![CDATA[mysqltcl | eggdrop 1.6.15 | mysql max 4.0.13 binary-install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21223#p21223"><![CDATA[
ok, well now I made it with -flatlist (witch is really useless when you think about for a secound).<br><div class="codebox"><p>Code: </p><pre><code>   set mysql_handle [mysqlconnect -h localhost -user eggdrop -password xxxxxxx -db eggdrop]   set mysql_res [mysqlsel $mysql_handle "SELECT * FROM test" -list]   putlog "00: [lindex $mysql_res 0]"</code></pre></div>but I cant figure out how to use<blockquote class="uncited"><div>[lindex [mysqlsel ...] 0] is the first selected row, ...<br>and another lindex to select the correct column</div></blockquote>I guess that its just to try but it would save me lots of time if you could give me and example..<br><br>Yours truly<br><br>gk^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1656">gk^</a> — Wed Jun 04, 2003 7:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mortician]]></name></author>
		<updated>2003-06-04T07:31:15-04:00</updated>

		<published>2003-06-04T07:31:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21222#p21222</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21222#p21222"/>
		<title type="html"><![CDATA[mysqltcl | eggdrop 1.6.15 | mysql max 4.0.13 binary-install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21222#p21222"><![CDATA[
yeah, using mysqlsel?<br>[lindex [mysqlsel ...] 0] is the first selected row, ...<br>and another lindex to select the correct column<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1942">mortician</a> — Wed Jun 04, 2003 7:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gk^]]></name></author>
		<updated>2003-06-04T06:47:42-04:00</updated>

		<published>2003-06-04T06:47:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21221#p21221</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21221#p21221"/>
		<title type="html"><![CDATA[mysqltcl | eggdrop 1.6.15 | mysql max 4.0.13 binary-install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21221#p21221"><![CDATA[
yes well, that isnt really a problem. Maybe I where unclear about my problem - I can putout like "{1 " or "1" but nothing more - should I use things such as lindex? Checking how to use them right now so that I can try..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1656">gk^</a> — Wed Jun 04, 2003 6:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-06-04T06:13:16-04:00</updated>

		<published>2003-06-04T06:13:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21220#p21220</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21220#p21220"/>
		<title type="html"><![CDATA[mysqltcl | eggdrop 1.6.15 | mysql max 4.0.13 binary-install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21220#p21220"><![CDATA[
There several ways to do this.<br><br>Reading tcl-commands.doc will be your best source for this.<br><br>Read up on putdcc, putlog<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Jun 04, 2003 6:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gk^]]></name></author>
		<updated>2003-06-04T05:08:47-04:00</updated>

		<published>2003-06-04T05:08:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21211#p21211</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21211#p21211"/>
		<title type="html"><![CDATA[mysqltcl | eggdrop 1.6.15 | mysql max 4.0.13 binary-install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21211#p21211"><![CDATA[
I have some trouble using mysqltcl.<br><br>I've read the doc (witch isnt that much of a help  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> ) lots of times - but I cant figure out how to print the right data.<br><br>I use a select * from table, but how in the world should I put it out on ie. the partyline?<br><br>Yours truly<br><br>gk^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1656">gk^</a> — Wed Jun 04, 2003 5:08 am</p><hr />
]]></content>
	</entry>
	</feed>
