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

	<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>2013-06-24T07:20:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-10-21T07:18:36-04:00</updated>

		<published>2007-10-21T07:18:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76935#p76935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76935#p76935"/>
		<title type="html"><![CDATA[[SOLVED]Join msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76935#p76935"><![CDATA[
<blockquote class="uncited"><div>Because the script is not working I'd assume that you do not have mysqltcl installed.<br><br>The script looks for that package.<div class="codebox"><p>Code: </p><pre><code>package require mysqltcl </code></pre></div><blockquote class="uncited"><div>How can i check the mysqltcl is working.... </div></blockquote>Your answer is might be here: <a href="http://forum.egghelp.org/viewtopic.php?p=76869&amp;highlight=#76869" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ght=#76869</a></div></blockquote>thanks so fare <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Okay i'll gtry to look into it... with some root access on the server.... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Can i use this one... ? <br><a href="http://barkerjr.net/irc/eggdrop/modules/" class="postlink">http://barkerjr.net/irc/eggdrop/modules/</a><br><blockquote class="uncited"><div>MySQL<br>    This module is really a tool for script developers who want to access a MySQL database without an extra Tcl module. This module may be required by certain scripts. A is also available. For an example script, see MySeen in the scripts section of this site.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sun Oct 21, 2007 7:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-10-20T18:29:25-04:00</updated>

		<published>2007-10-20T18:29:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76923#p76923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76923#p76923"/>
		<title type="html"><![CDATA[[SOLVED]Join msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76923#p76923"><![CDATA[
Because the script is not working I'd assume that you do not have mysqltcl installed.<br><br>The script looks for that package.<div class="codebox"><p>Code: </p><pre><code>package require mysqltcl </code></pre></div><blockquote class="uncited"><div>How can i check the mysqltcl is working.... </div></blockquote>Your answer is might be here: <a href="http://forum.egghelp.org/viewtopic.php?p=76869&amp;highlight=#76869" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ght=#76869</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Oct 20, 2007 6:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-10-20T09:56:46-04:00</updated>

		<published>2007-10-20T09:56:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76911#p76911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76911#p76911"/>
		<title type="html"><![CDATA[[SOLVED]Join msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76911#p76911"><![CDATA[
<blockquote class="uncited"><div>You do have mysqltcl setup?<br><br>Also, have you contacted the author?</div></blockquote>How can i check the mysqltcl is working....<br><br>And the author, is one i know that has setup another bot with the same funktion, but he is to busy to help at the moment <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=8230">Fire-Fox</a> — Sat Oct 20, 2007 9:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-10-19T20:22:02-04:00</updated>

		<published>2007-10-19T20:22:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76894#p76894</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76894#p76894"/>
		<title type="html"><![CDATA[[SOLVED]Join msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76894#p76894"><![CDATA[
You do have mysqltcl setup?<br><br>Also, have you contacted the author?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Oct 19, 2007 8:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2013-06-24T07:20:51-04:00</updated>

		<published>2007-10-19T15:26:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76888#p76888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76888#p76888"/>
		<title type="html"><![CDATA[[SOLVED]Join msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76888#p76888"><![CDATA[
hey <br><br>i have a problem <br><br>Can enyone tell my why it's nor working...<br><div class="codebox"><p>Code: </p><pre><code>###################################################       Set user defined flag for users          ###################################################setudef flag UserSearchsetudef flag AdminSearchpackage require mysqltclbind join - * join:aliasfmbind rejn - * join:aliasfm######################### URL to the site ##########################set site_add "http://aliasfm.net"  ##################### Mysql path ###################### SQL infoset sql(host) "xxxxxxxx"set sql(user) "xxxxx"set sql(pass) "xxxx"set sql(db) "abot"set sql(port) "3306"######################### URL to the site ##########################set site_add "http://aliasfm.net "##################### Mysql path #####################if {![info exists db_handle] } {set db_handle [mysqlconnect -host $sql(host) -user $sql(user) -password $sql(pass) -db $sql(db) -port $sql(port)] }##################################### Define The Channels On IRC #####################################set chan_(mainchan)     "#aliasfm"################################ Some Global Variables ################################### Set to 1 if you want the join msg enabledset globals_(join) "1"############################# Find The UserClass #############################proc bt.class { class id } {switch $class {    #"0"         {set class "0User" }                  "5"        {set class "4Live DJ" }                  "10"        {set class "4Chat Chef" }                  "default"   {set class "Not Found" }          }return $class}############################################## Greeting MSG When User Join channel ##############################################proc bt.join.class { chan nick class} {switch $class {   ### The number is the number of the class on the site   ### "return 0" means no msg for that class   #"0"        {putserv "PRIVMSG $chan :10Velkommen Til 7:::9 $nick 7:::9 10Vores Outlaw" }   "5"       {putserv "PRIVMSG $chan :10Velkommen Til 7:::9 $nick 7:::9 10Vores Live Dj" }   "default"  {set class "Not Found" } }}#################### Join Proc ####################proc join:aliasfm {nick host hand chan} {global botnick db_handle globals_ error_ help_ chan_    if {$nick != $botnick} {      set chan [string tolower $chan]    if {[channel get $chan UserSearch]} {            if {[mysqlping $db_handle] != 1} {              putserv "PRIVMSG $chan : $error_(mysqllost)"             return 0       }              set sqlnick "SELECT userid FROM nicks WHERE nick='[mysqlescape $nick]'"       set resultnick [mysqlquery $db_handle $sqlnick]                    set nicki 0       while {[set record [mysqlnext $resultnick]] != ""} {         set userid [lindex $record 0]         incr nicki       }                     if { $nicki == 0 } { return 0 }                    if { $userid == "" } { return 0 }                    set sql "SELECT username, class FROM users WHERE id='[mysqlescape $userid]'"              set result [mysqlquery $db_handle $sql]                    set i 0       while {[set record [mysqlnext $result]] != ""} {                             set username [lindex $record 0];         set class [lindex $record 1];       }              if { $globals_(help) == 1 } {putserv "notice $nick : $help_(join)"}       if { $globals_(join) != 1 } { return 0 }              set sql "SELECT username, class FROM users WHERE id='[mysqlescape $userid]'"       set result [mysqlquery $db_handle $sql]                    set i 0       while {[set record [mysqlnext $result]] != ""} {                             set username [lindex $record 0];         set class [lindex $record 1];       }       mysqlendquery $result              bt.join.class $chan $nick $class    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Fri Oct 19, 2007 3:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
