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

	<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>2007-02-12T17:19:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-02-12T17:19:54-04:00</updated>

		<published>2007-02-12T17:19:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70414#p70414</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70414#p70414"/>
		<title type="html"><![CDATA[Write Channel list 2 File]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70414#p70414"><![CDATA[
In your proc, you open the file, create a proc then close the file - there are no lines writing anything to the file - that's why it's empty.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Feb 12, 2007 5:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[crux]]></name></author>
		<updated>2007-02-12T17:06:13-04:00</updated>

		<published>2007-02-12T17:06:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70413#p70413</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70413#p70413"/>
		<title type="html"><![CDATA[Write Channel list 2 File]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70413#p70413"><![CDATA[
I edit like that <br><br><div class="codebox"><p>Code: </p><pre><code>set file "chanlist.txt" if {![info exists chanlist_running]} {       timer 20 chanlist:make                          set chanlist_running 1                   }                                   proc chanlist:make {args} { global file channel botnickset chanlist [chanlist]set chanlist [lsort -dictionary [lrange $chanlist 0 end]]set outputfile [open $file w]proc savechanlists file {   set f [open $file w]   foreach chan [channels] {      if {[botonchan $chan]} {         puts $f [join [chanlist $chan] \n]      }   }   close $f}close $outputfileputlog "Saving channel list..." timer 20 chanlist:makereturn 1} putlog "Write Channel list to File." </code></pre></div><br>but my output file chanlist.txt size is 0 ...<br><br>please help me..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8573">crux</a> — Mon Feb 12, 2007 5:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[crux]]></name></author>
		<updated>2007-02-12T15:14:44-04:00</updated>

		<published>2007-02-12T15:14:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70411#p70411</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70411#p70411"/>
		<title type="html"><![CDATA[Write Channel list 2 File]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70411#p70411"><![CDATA[
thanks you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8573">crux</a> — Mon Feb 12, 2007 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-02-12T11:41:07-04:00</updated>

		<published>2007-02-12T11:41:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70408#p70408</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70408#p70408"/>
		<title type="html"><![CDATA[Write Channel list 2 File]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70408#p70408"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc savechanlists file {set f [open $file w]foreach chan [channels] {if {[botonchan $chan]} {puts $f [join [chanlist $chan] \n]}}close $f}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Feb 12, 2007 11:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[crux]]></name></author>
		<updated>2007-02-12T11:22:46-04:00</updated>

		<published>2007-02-12T11:22:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70407#p70407</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70407#p70407"/>
		<title type="html"><![CDATA[Write Channel list 2 File]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70407#p70407"><![CDATA[
hehe.. I mean all channels list to .txt file without topics ...<br>pls help me with tcl code.....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8573">crux</a> — Mon Feb 12, 2007 11:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-02-07T19:54:59-04:00</updated>

		<published>2007-02-07T19:54:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70266#p70266</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70266#p70266"/>
		<title type="html"><![CDATA[Re: Write Channel list 2 File]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70266#p70266"><![CDATA[
<blockquote class="uncited"><div>Hello,<br>anyone  can help to write channel list to .txt file, like that <br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1061" class="postlink">Write Channel Nicklist 2 File</a> tcl.</div></blockquote>Yeah, like <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1061" class="postlink">Write Channel Nicklist 2 File</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Feb 07, 2007 7:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[crux]]></name></author>
		<updated>2007-02-07T18:28:59-04:00</updated>

		<published>2007-02-07T18:28:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70262#p70262</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70262#p70262"/>
		<title type="html"><![CDATA[Write Channel list 2 File]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70262#p70262"><![CDATA[
Hello,<br>anyone  can help to write channel list to .txt file, like that <br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1061" class="postlink">Write Channel Nicklist 2 File</a> tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8573">crux</a> — Wed Feb 07, 2007 6:28 pm</p><hr />
]]></content>
	</entry>
	</feed>
