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

	<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>2004-11-28T16:47:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-11-28T16:47:28-04:00</updated>

		<published>2004-11-28T16:47:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43219#p43219</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43219#p43219"/>
		<title type="html"><![CDATA[closing file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43219#p43219"><![CDATA[
only the error message was the channel, but it's just the file I wanted to close, but found it on the page above - thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Sun Nov 28, 2004 4:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-11-28T08:38:42-04:00</updated>

		<published>2004-11-28T08:38:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43207#p43207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43207#p43207"/>
		<title type="html"><![CDATA[closing file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43207#p43207"><![CDATA[
hmm i don't think his question is in there .. tho<br><br>he wants to know how to check if a channel exists before closing it well u could check if the variable exists that could work maybe try this <br><div class="codebox"><p>Code: </p><pre><code>if {[info exists file]} {  close $file}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Nov 28, 2004 8:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-11-23T23:48:45-04:00</updated>

		<published>2004-11-23T23:48:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43055#p43055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43055#p43055"/>
		<title type="html"><![CDATA[closing file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43055#p43055"><![CDATA[
thanks gb - will try that...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Tue Nov 23, 2004 11:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-11-23T23:40:45-04:00</updated>

		<published>2004-11-23T23:40:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43054#p43054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43054#p43054"/>
		<title type="html"><![CDATA[closing file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43054#p43054"><![CDATA[
have a look <a href="http://forum.egghelp.org/viewtopic.php?t=6885" class="postlink">here</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Tue Nov 23, 2004 11:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-11-23T22:48:15-04:00</updated>

		<published>2004-11-23T22:48:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43053#p43053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43053#p43053"/>
		<title type="html"><![CDATA[closing file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43053#p43053"><![CDATA[
Hi - I have a proc that uses lynx to dump a webpage into a text file, read a line to the channel, then close the file. However, I've tried several different ways to close the file but I either get an error message saying 'no such channel $file' or eventually it runs into the 'too many open pipes' problem.<br><br>Here's the end of the proc where I'm trying to close the file - if anyone has any ideas where this might be going wrong I'd be gratefull!<br><br>putserv "PRIVMSG $channel :7,7 1,15 $line1 "<br>   }<br> }<br> catch {close $file}<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Tue Nov 23, 2004 10:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
