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

	<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>2010-12-13T14:10:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Cr4sh]]></name></author>
		<updated>2010-12-12T05:00:43-04:00</updated>

		<published>2010-12-12T05:00:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95327#p95327</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95327#p95327"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95327#p95327"><![CDATA[
Thanks man, it's not a problem, in any way i will resolve this question.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><br><br><span style="color:yellow"><strong class="text-strong">Portage, has just a packet "net-irc/eggdrop" to the 3.6.19 that works perfectly</strong></span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7240">Cr4sh</a> — Sun Dec 12, 2010 5:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-12-11T17:09:08-04:00</updated>

		<published>2010-12-11T17:09:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95324#p95324</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95324#p95324"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95324#p95324"><![CDATA[
Unfortunately, I'm running very low on ideas.. eggdrop simply passes the filename of the config-file to "Tcl_EvalFile", just like loading it with tclsh..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Dec 11, 2010 5:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Cr4sh]]></name></author>
		<updated>2010-12-11T16:18:26-04:00</updated>

		<published>2010-12-11T16:18:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95323#p95323</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95323#p95323"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95323#p95323"><![CDATA[
And the result is <div class="codebox"><p>Code: </p><pre><code>H4ckmaniac Desktop # tclsh try.tclStarting up... next comes a comment...If you see this, just below the "Starting up" line, comments seem to work as intended</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7240">Cr4sh</a> — Sat Dec 11, 2010 4:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-12-11T16:02:59-04:00</updated>

		<published>2010-12-11T16:02:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95322#p95322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95322#p95322"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95322#p95322"><![CDATA[
That... is very odd.<br>I suppose you could try and manually build and install tcl from <a href="http://www.tcl.tk" class="postlink">www.tcl.tk</a>, and then rebuild your eggdrop against this..<br><br>Also, you could try starting "tclsh" (a tcl shell interpreter), and try to run a simple script within it such as below:<div class="codebox"><p>Code: </p><pre><code>puts stdout "Starting up... next comes a comment..."# This is the first comment..#This is the second one...puts stdout "If you see this, just below the \"Starting up\" line, comments seem to work as intended"</code></pre></div>put it in a text file, and start it like this:<br>tclsh yourscript.tcl<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Dec 11, 2010 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Cr4sh]]></name></author>
		<updated>2010-12-11T15:48:44-04:00</updated>

		<published>2010-12-11T15:48:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95321#p95321</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95321#p95321"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95321#p95321"><![CDATA[
Yes, i've emerge tcl directly from portage package.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7240">Cr4sh</a> — Sat Dec 11, 2010 3:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-12-11T15:46:10-04:00</updated>

		<published>2010-12-11T15:46:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95320#p95320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95320#p95320"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95320#p95320"><![CDATA[
Then it would seem you've got a bad tcl interpreter. Did you use the gentoo package for installing tcl?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Dec 11, 2010 3:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Cr4sh]]></name></author>
		<updated>2010-12-11T15:39:25-04:00</updated>

		<published>2010-12-11T15:39:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95319#p95319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95319#p95319"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95319#p95319"><![CDATA[
a new error message <div class="codebox"><p>Code: </p><pre><code>$ ./eggdrop config.confEggdrop v1.6.19 (C) 1997 Robey Pointer (C) 2008 Eggheads[20:37] --- Loading eggdrop v1.6.19 (Sat Dec 11 2010)[20:37] Tcl error in file 'config.conf':[20:37] invalid command name "#"    while executing"# ^- This should contain a fully qualified path to your Eggdrop executable."    (file "config.conf" line 1)[20:37] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7240">Cr4sh</a> — Sat Dec 11, 2010 3:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-12-11T15:35:51-04:00</updated>

		<published>2010-12-11T15:35:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95318#p95318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95318#p95318"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95318#p95318"><![CDATA[
That is odd, anything starting with a hash (#) should be treated as a comment in tcl. Try completely removing that line<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Dec 11, 2010 3:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Cr4sh]]></name></author>
		<updated>2010-12-11T15:31:06-04:00</updated>

		<published>2010-12-11T15:31:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95317#p95317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95317#p95317"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95317#p95317"><![CDATA[
In any case i received <div class="codebox"><p>Code: </p><pre><code>$ ./eggdrop -m config.confEggdrop v1.6.19 (C) 1997 Robey Pointer (C) 2008 Eggheads[20:27] --- Loading eggdrop v1.6.19 (Sat Dec 11 2010)[20:27] Tcl error in file 'config.conf':[20:27] invalid command name "#!"    while executing"#! /home/cr4sh/eggdrop"    (file "config.conf" line 1)[20:27] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7240">Cr4sh</a> — Sat Dec 11, 2010 3:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-12-11T15:23:35-04:00</updated>

		<published>2010-12-11T15:23:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95316#p95316</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95316#p95316"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95316#p95316"><![CDATA[
If you're referring to the line saying something like this:<div class="codebox"><p>Code: </p><pre><code>#! /path/to/eggdrop</code></pre></div>Then it's the "magic number" for scripts (aka "shebang"), which tells the shell (bash, etc) which binary to start this script with. Thus, this is only needed if you'd like to be able to start your eggdrop with a command such as this:<div class="codebox"><p>Code: </p><pre><code># ./eggdrop.conf</code></pre></div>It's not needed to start your eggdrop the "normal" way:<div class="codebox"><p>Code: </p><pre><code># ./eggdrop eggdrop.conf</code></pre></div>The proper value though?<br>Lets say we've installed your eggdrop binary in the folder "eggie" under our home ("/home/me"); then this would be set to:<div class="codebox"><p>Code: </p><pre><code>#! /home/me/eggie/eggdrop</code></pre></div>Keep in mind, that many shells have a limit of 32 characters including the #! prefix, so if you've got a long path to the installation, this might not even be an option for you..<br><br>Oh, and no, this will not work with windrops..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Dec 11, 2010 3:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Cr4sh]]></name></author>
		<updated>2010-12-13T14:10:24-04:00</updated>

		<published>2010-12-11T14:59:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95314#p95314</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95314#p95314"/>
		<title type="html"><![CDATA[config.conf error line 1 [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95314#p95314"><![CDATA[
A stupid question:"Which is the correct syntax to define the eggdrop path?"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7240">Cr4sh</a> — Sat Dec 11, 2010 2:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
