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

	<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-06-22T19:00:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-22T19:00:03-04:00</updated>

		<published>2004-06-22T19:00:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37720#p37720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37720#p37720"/>
		<title type="html"><![CDATA[closing a variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37720#p37720"><![CDATA[
darn i did it again .. gotta stop replying before reading thru the whole thing  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><div class="codebox"><p>Code: </p><pre><code>close $botread</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Tue Jun 22, 2004 7:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-06-22T18:56:11-04:00</updated>

		<published>2004-06-22T18:56:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37719#p37719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37719#p37719"/>
		<title type="html"><![CDATA[closing a variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37719#p37719"><![CDATA[
errrr<br>don't you mean<div class="codebox"><p>Code: </p><pre><code>unset emaile</code></pre></div> instead of close, or <div class="codebox"><p>Code: </p><pre><code>close $botread</code></pre></div> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Jun 22, 2004 6:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-22T19:00:38-04:00</updated>

		<published>2004-06-22T18:51:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37718#p37718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37718#p37718"/>
		<title type="html"><![CDATA[closing a variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37718#p37718"><![CDATA[
add it after it's done reading the file  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><br><div class="codebox"><p>Code: </p><pre><code>set emaile "/www/botread.txt"set cmd "!email"set bwhere 0bind pub -|- $cmd emailproc email {nick handle host chan text } { global emaile bwhere set botread [open $emaile r] while {![eof $botread]} {   set outline [gets $botread]   if {!$bwhere} {     putserv "PRIVMSG $chan :\002$outline\002"   } }close $botread}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Tue Jun 22, 2004 6:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-22T17:57:45-04:00</updated>

		<published>2004-06-22T17:57:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37717#p37717</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37717#p37717"/>
		<title type="html"><![CDATA[closing a variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37717#p37717"><![CDATA[
Can someone help me finish this code by advising on where/how to add the <br>"close $emaile" line ?<br><div class="codebox"><p>Code: </p><pre><code>   1 set emaile "/www/botread.txt"   2 set cmd "!email"   3 set bwhere 0   4    5 bind pub -|- $cmd email   6 proc email {nick handle host chan text } {   7 global emaile bwhere   8 set botread [open $emaile r]   9 while { ! [eof $botread] } {  10 set outline [gets $botread]  11 if {!$bwhere} {  12 putserv "PRIVMSG $chan :\002$outline\002"  13 }  14 }  15 }</code></pre></div><p>Statistics: Posted by Guest — Tue Jun 22, 2004 5:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
