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

	<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-08-24T17:19:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-08-24T17:19:55-04:00</updated>

		<published>2010-08-24T17:19:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94094#p94094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94094#p94094"/>
		<title type="html"><![CDATA[exec/log and strange error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94094#p94094"><![CDATA[
Rather obviously, you close the file handle (aka channel) right after you open it.. Thus it is no longer open for write-access when you call either of the two commands.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Aug 24, 2010 5:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Saibot]]></name></author>
		<updated>2010-08-24T16:32:56-04:00</updated>

		<published>2010-08-24T16:32:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94093#p94093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94093#p94093"/>
		<title type="html"><![CDATA[exec/log and strange error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94093#p94093"><![CDATA[
I wrote this script:<div class="codebox"><p>Code: </p><pre><code>bind pub o .shutdown shutdownbind pub o .run runset logfile "logs/exec/beehive.log"set log [open $logfile a]proc shutdown { nick uhost handle chan text } {   global log logfil  # set docmd [exec ./shutbeehive]   putserv "PRIVMSG $chan :\0034Beehive is shutting down... \003"   puts $log "$nick\n[strftime "%Y %b %d %a %T"]:\n Shutdown"}proc run { nick uhost handle chan text } {   global log logfil   #set docmd [exec ./runbeehive]   putserv "PRIVMSG $chan :\0034Beehive is starting...please wait. \003"   puts $log "$nick\n[strftime "%Y %b %d %a %T"]:\n Start"   }close $log</code></pre></div>but i have a very strange error:<div class="codebox"><p>Code: </p><pre><code>Tcl error [run]: can not find channel named "file14"</code></pre></div>if i use the .shutdown i have same problem.<br>i dont understand what is it.<br>pls help me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11326">Saibot</a> — Tue Aug 24, 2010 4:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
