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

	<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>2005-08-02T07:47:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-08-02T07:47:21-04:00</updated>

		<published>2005-08-02T07:47:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53636#p53636</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53636#p53636"/>
		<title type="html"><![CDATA[mysql table read]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53636#p53636"><![CDATA[
indeed, with that you dont need a separate mysql database server, since the package is the server.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Tue Aug 02, 2005 7:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-02T05:51:04-04:00</updated>

		<published>2005-08-02T05:51:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53633#p53633</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53633#p53633"/>
		<title type="html"><![CDATA[mysql table read]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53633#p53633"><![CDATA[
besides the popular among this community <em class="text-italics">mysql.mod</em> module and <em class="text-italics">mysqltcl</em> APIs, there's third option for using SQL database with eggdrop: <a href="http://www.sqlite.org/" class="postlink">SQLite</a>, small &amp; fast database engine with Tcl interface<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Aug 02, 2005 5:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Galadhrim]]></name></author>
		<updated>2005-07-31T05:23:39-04:00</updated>

		<published>2005-07-31T05:23:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53569#p53569</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53569#p53569"/>
		<title type="html"><![CDATA[mysql table read]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53569#p53569"><![CDATA[
<blockquote class="uncited"><div>what do i need to run mysql ? mysqltcl only ?</div></blockquote>You need a mysql server, like the one from your site. (The data doesn't come from a blackhole <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> ) And you need mysqltcl. You can talk to the server using the mysqltcl in your tcl script.<br><br>Once you got that create a query that gets the user data from the database like <div class="codebox"><p>Code: </p><pre><code>SELECT * FROM users WHERE username='$nick'</code></pre></div>Then you can read the data and decide if the person can stay or not.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2999">Galadhrim</a> — Sun Jul 31, 2005 5:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-30T18:35:49-04:00</updated>

		<published>2005-07-30T18:35:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53546#p53546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53546#p53546"/>
		<title type="html"><![CDATA[mysql table read]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53546#p53546"><![CDATA[
did you go <a href="http://www.xdobry.de/mysqltcl/mysqltcl.html" class="postlink">here</a> already? if not, do so<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jul 30, 2005 6:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[asmds]]></name></author>
		<updated>2005-07-30T17:26:41-04:00</updated>

		<published>2005-07-30T17:26:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53545#p53545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53545#p53545"/>
		<title type="html"><![CDATA[mysql table read]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53545#p53545"><![CDATA[
Hi all<br><br>Im trying to understand mysql and tcl because i want to do a script that uses a database, but i need some help.<br><br>first : i want that my eggdrop reads from a database when a user join my channel to see if that user is registered in a website that i run, if the user is not registered the bot will ban him and ask the user to do the registration.<br><br>I know how to do the basic TCL for this script, i just cant do the mysql part.<br><br>can you give me an example of the code to see +/- how to do it  ?  what do i need to run mysql ? mysqltcl only ? <br><br>the table is small, the fields are <br><div class="codebox"><p>Code: </p><pre><code>  `id` mediumint(8) NOT NULL default '0',  `name` varchar(255) NOT NULL default '',  `mgroup` smallint(3) NOT NULL default '0',  `password` varchar(32) NOT NULL default '',</code></pre></div><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6542">asmds</a> — Sat Jul 30, 2005 5:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
