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

	<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>2004-04-12T10:05:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[benzon]]></name></author>
		<updated>2004-04-12T10:05:05-04:00</updated>

		<published>2004-04-12T10:05:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35457#p35457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35457#p35457"/>
		<title type="html"><![CDATA[Some Help Whit Mysql stuff :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35457#p35457"><![CDATA[
and thx for a nice site <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4808">benzon</a> — Mon Apr 12, 2004 10:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-12T00:02:22-04:00</updated>

		<published>2004-04-12T00:02:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35449#p35449</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35449#p35449"/>
		<title type="html"><![CDATA[Some Help Whit Mysql stuff :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35449#p35449"><![CDATA[
k...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Mon Apr 12, 2004 12:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[benzon]]></name></author>
		<updated>2004-04-11T16:33:05-04:00</updated>

		<published>2004-04-11T16:33:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35445#p35445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35445#p35445"/>
		<title type="html"><![CDATA[Some Help Whit Mysql stuff :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35445#p35445"><![CDATA[
got it fixed, by yousing som time to search this forum and looking on all script i cut find whit mysql <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> so no problem more <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4808">benzon</a> — Sun Apr 11, 2004 4:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-11T13:01:02-04:00</updated>

		<published>2004-04-11T13:01:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35430#p35430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35430#p35430"/>
		<title type="html"><![CDATA[Some Help Whit Mysql stuff :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35430#p35430"><![CDATA[
what is the exact problem ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Apr 11, 2004 1:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[benzon]]></name></author>
		<updated>2004-04-11T10:40:10-04:00</updated>

		<published>2004-04-11T10:40:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35419#p35419</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35419#p35419"/>
		<title type="html"><![CDATA[Some Help Whit Mysql stuff :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35419#p35419"><![CDATA[
fixed regsub were my frind <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4808">benzon</a> — Sun Apr 11, 2004 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[benzon]]></name></author>
		<updated>2004-04-11T10:15:34-04:00</updated>

		<published>2004-04-11T10:15:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35417#p35417</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35417#p35417"/>
		<title type="html"><![CDATA[Some Help Whit Mysql stuff :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35417#p35417"><![CDATA[
uhm okay i can add to mysql now hehe just need the replacement feature :\<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4808">benzon</a> — Sun Apr 11, 2004 10:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[benzon]]></name></author>
		<updated>2004-04-11T09:16:28-04:00</updated>

		<published>2004-04-11T09:16:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35416#p35416</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35416#p35416"/>
		<title type="html"><![CDATA[Some Help Whit Mysql stuff :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35416#p35416"><![CDATA[
error reading package index file /usr/local/lib/tcl8.3/Memchan/pkgIndex.tcl: expected version number but got "."<br><br>This is the error i get <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_neutral.gif" width="15" height="15" alt=":|" title="Neutral"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4808">benzon</a> — Sun Apr 11, 2004 9:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[benzon]]></name></author>
		<updated>2004-04-11T08:40:54-04:00</updated>

		<published>2004-04-11T08:40:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35415#p35415</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35415#p35415"/>
		<title type="html"><![CDATA[Some Help Whit Mysql stuff :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35415#p35415"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=7112" class="postlink">http://forum.egghelp.org/viewtopic.php?t=7112</a> &lt;-- Yoused a part of that ex sombody gave a bit down the site.<br><br>bind pub - !insert insert:pub <br><br>proc insert:pub {nick uhost hand chan arg} { <br>  # inserting mysql array <br>  global mysql <br>  <br>  # Set data variables. <br>  set title [lindex $arg 0] <br>  set data [join [lrange $arg 1 end]] <br><br><br>  # Check if there is data pressent to insert. <br>  if {![string match {} [lindex $arg 1]]} { <br><br>    # Selecting a valid db. <br>    mysqluse $mysql(conn) $mysql(data) <br><br>    # Inserting data to the db <br>    mysqlexec $mysql(conn) "INSERT INTO test (test_title,test_data) VALUES ('$title','$data');" <br>  <br>    # If a proc is broken when an error occours like inserting data into a <br>    # db, then this could be a verification of a succesfull query <br>    putserv "PRIVMSG $chan :Query ended." <br>  } else { <br>    putserv "PRIVMSG $chan :Syntax error." <br>  } <br>}<br><br>Is it posible to divide it up 2 the eg<br><br>Clan Name som clan got space it so eg Clan_name and before it add it it remove the _ and add a space insted is that posible and how?<br><br>Secound Clan Chan eg #somechan and <a href="http://somehp.com" class="postlink">http://somehp.com</a><br><br>I think i know how that works i will do a ex ad it hehe<br><br>bind pub - !insert insert:pub <br><br>proc insert:pub {nick uhost hand chan arg} { <br>  # inserting mysql array <br>  global mysql <br>  <br>  # Set data variables. <br>  set clanname [lindex $arg 0]<br>  set channame [lindex $arg 1]<br>  set clanhttp [lindex $arg 3] <br><br><br>  # Check if there is data pressent to insert. <br>  if {![string match {} [lindex $arg 1]]} { <br><br>    # Selecting a valid db. <br>    mysqluse $mysql(conn) $mysql(data) <br><br>    # Inserting data to the db <br>    mysqlexec $mysql(conn) "INSERT INTO test (clan_name,clan_chan,clan_hp) VALUES ('$clanname','$channame','$clanhttp');" <br>  <br>    # If a proc is broken when an error occours like inserting data into a <br>    # db, then this could be a verification of a succesfull query <br>    putserv "PRIVMSG $chan :Query ended." <br>  } else { <br>    putserv "PRIVMSG $chan :Syntax error." <br>  } <br>}<br><br>Is that the right way that i did that ? :\<br><br>But if so and it´s right i realy need you to help me how to do that so i can put in like Some_clan_blah and it remove the _ and add a space insted hope sombody will help me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4808">benzon</a> — Sun Apr 11, 2004 8:40 am</p><hr />
]]></content>
	</entry>
	</feed>
