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

	<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>2014-02-25T02:19:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2014-02-25T02:19:05-04:00</updated>

		<published>2014-02-25T02:19:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102610#p102610</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102610#p102610"/>
		<title type="html"><![CDATA[can't read class]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102610#p102610"><![CDATA[
The $class variable isn't defined before using it, no wonder it's not working.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Feb 25, 2014 2:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2014-02-24T17:04:49-04:00</updated>

		<published>2014-02-24T17:04:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102608#p102608</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102608#p102608"/>
		<title type="html"><![CDATA[can't read class]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102608#p102608"><![CDATA[
I have this code and i get can't read class all the time<br><br><div class="codebox"><p>Code: </p><pre><code>set userChan "#dev.null" set accesschan "#dev.null"bind join - * joins proc joins {nick host hand chan} {        global userChan mysql_ db_         if {$chan == $userChan } {                #mysqluse $mysql_(handle) $mysql_(database)   set sql [mysqlsel $mysql_(handle) "SELECT * FROM $mysql_(table) WHERE username='[mysqlescape $nick]' AND db_(accessclass) = '$class' "]      set result [mysqlsel $mysql_(handle) $sql -list]    if {$result &gt; 0 } {   set result [mysqlsel $mysql_(handle) $sql -list]putserv "NOTICE $userChan Welcome $nick $class"    }} else { putserv "kick $userChan $nick :You are not welcome!" mysqlendquery $mysql_(handle)mysqlendquery $mysql_(handle)} }putlog "Access.tcl - Loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Feb 24, 2014 5:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
