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

	<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>2008-10-28T15:29:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SL0RD]]></name></author>
		<updated>2008-10-28T15:29:38-04:00</updated>

		<published>2008-10-28T15:29:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85675#p85675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85675#p85675"/>
		<title type="html"><![CDATA[# of args /mysqltcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85675#p85675"><![CDATA[
Ok i got it to work now, thanks for the help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10253">SL0RD</a> — Tue Oct 28, 2008 3:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-10-28T09:35:54-04:00</updated>

		<published>2008-10-28T09:35:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85671#p85671</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85671#p85671"/>
		<title type="html"><![CDATA[# of args /mysqltcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85671#p85671"><![CDATA[
I'm not talking about your proc-head...<br>I'm talking about the very command I mentioned in my previous post. Please re-read it..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Oct 28, 2008 9:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SL0RD]]></name></author>
		<updated>2008-10-27T21:13:00-04:00</updated>

		<published>2008-10-27T21:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85664#p85664</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85664#p85664"/>
		<title type="html"><![CDATA[# of args /mysqltcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85664#p85664"><![CDATA[
i changed the args to { handle database } and i get <br><br>TCL error [feed_sl0rd]:wrong # args: should be "feed_sl0rd handle database"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10253">SL0RD</a> — Mon Oct 27, 2008 9:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-10-28T09:34:51-04:00</updated>

		<published>2008-10-27T19:24:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85663#p85663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85663#p85663"/>
		<title type="html"><![CDATA[# of args /mysqltcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85663#p85663"><![CDATA[
Could you post the full error message, and if possible/reproducable, the content of the global variable errorInfo at the time of the error?<br><br>At a quick glance however, I would guess that the error is related to your <strong class="text-strong">::mysql::use</strong> command, which actually expects two arguments, not one; namely "handle" and "database" (handle is not to be confused with handles in eggdrop).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Oct 27, 2008 7:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SL0RD]]></name></author>
		<updated>2008-10-27T21:20:37-04:00</updated>

		<published>2008-10-27T16:44:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85661#p85661</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85661#p85661"/>
		<title type="html"><![CDATA[# of args /mysqltcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85661#p85661"><![CDATA[
having a problem with this script its saying wrong # args but i can't figure out how to fix it.<br><div class="codebox"><p>Code: </p><pre><code>#sever infoset host "(HOST)"set user "(USER)"set passwd "(PASS)"set db "(DATABASE)"#Bindbind pubm - "% !feed sl0rd" feed_sl0rd## Load the mysqltcl packagepackage require mysqltclproc feed_sl0rd {nick uhost hand chan topic} {global host user passwd dbif {$chan == "#sops"} then {set con [::mysql::connect -host $host -user $user -password $passwd]set res [::mysql::use $db]if {$res != 0} {putlog "could not connect... "}::mysql::exec $con "UPDATE `streameronline` ( `streamerusc` ) VALUES  (http://ustream.tv/e06,Q7h6Mbuey8aOxTltiQUyBKjIDFx4.usc)"PUTHELP "PRIVMSG $chan Update successfull"::mysql::close $con}}putlog "Script loaded: Stream Switcher"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10253">SL0RD</a> — Mon Oct 27, 2008 4:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
