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

	<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>2002-11-16T16:10:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-11-16T16:10:41-04:00</updated>

		<published>2002-11-16T16:10:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13245#p13245</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13245#p13245"/>
		<title type="html"><![CDATA[Help with mysql syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13245#p13245"><![CDATA[
Yeah... break it up into chunks that are actually readable?<br><br>Also, use { } instead of " " so that you don't have to escape chars like $ and [.<br><br>Finally, it would help if you said what the syntax error actually is?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Nov 16, 2002 4:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-16T08:08:02-04:00</updated>

		<published>2002-11-16T08:08:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13227#p13227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13227#p13227"/>
		<title type="html"><![CDATA[Help with mysql syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13227#p13227"><![CDATA[
Ive finally got mysql to work with the newest eggdrop but now im having trouble with the mysql syntax.<br>Im trying to run infobot.tcl by eruptor but since his installation of tables doesnt work i have built them myself but no comes the hard part.<br>There is something wrong with some of the syntax cause i cant add it to mysql.<div class="codebox"><p>Code: </p><pre><code>sql "insert into field_api VALUES('affils','insert','if {!\[regexp {\[02468\]} \[string index \[llength \[list %vars%\]\] \[expr \[llength \[list %vars%\]\] - 1\]\]\]} { set return -1 }','Groupnames must all have hq postitions paired with them.')"  sql "insert into field_api VALUES('affils','view','set count 0 \; while {\$count&lt;\[llength \[list %vars%\]\]} { append return \[lindex \[list %vars%\] \$count\](\[lindex \[list %vars%\] \[expr \$count + 1\]\]) \; incr count 2 }','')"</code></pre></div>Ive even tried to deleate all the \ infron of everything but icant make mysql to accept this code..<br><br>Any ideas?<p>Statistics: Posted by Guest — Sat Nov 16, 2002 8:08 am</p><hr />
]]></content>
	</entry>
	</feed>
