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

	<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>2002-01-10T13:02:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-10T13:02:00-04:00</updated>

		<published>2002-01-10T13:02:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3675#p3675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3675#p3675"/>
		<title type="html"><![CDATA[TCL error [pub:addREQ]: invalid command name "else"]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3675#p3675"><![CDATA[
thnx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by Guest — Thu Jan 10, 2002 1:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-10T12:47:00-04:00</updated>

		<published>2002-01-10T12:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3674#p3674</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3674#p3674"/>
		<title type="html"><![CDATA[TCL error [pub:addREQ]: invalid command name "else"]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3674#p3674"><![CDATA[
I suppose it's like this...<blockquote class="uncited"><div>close $fs<br>} else {<br>puthelp "NOTICE $nick :!addREQ &lt;requested file&gt;"<br> }<br>}</div></blockquote>Hope this helps.<p>Statistics: Posted by Guest — Thu Jan 10, 2002 12:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-10T11:56:00-04:00</updated>

		<published>2002-01-10T11:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3672#p3672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3672#p3672"/>
		<title type="html"><![CDATA[TCL error [pub:addREQ]: invalid command name "else"]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3672#p3672"><![CDATA[
After reading a tutorial i tried to create my first script (see below) it does the adding but keeps saying -&gt; TCL error [pub:addREQ]: invalid command name "else"<br><br>Anybody sees what i did wrong or what i forget? Thnx :&gt;<br><br>bind pub - !addREQ pub:addREQ<br><br>proc pub:addREQ {nick uhost hand chan REQ} {<br>global REQdir<br>if {$REQ != ""} {<br>set fs [open REQ.db w]<br>puts $fs "$REQ"<br>puthelp "NOTICE $nick : $REQ added to request list"<br>close $fs<br>}<br>else {<br>puthelp "NOTICE $nick :!addREQ &lt;requested file&gt;"<br>}<br>}<br><p>Statistics: Posted by Guest — Thu Jan 10, 2002 11:56 am</p><hr />
]]></content>
	</entry>
	</feed>
