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

	<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-11-15T07:32:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-11-15T07:32:38-04:00</updated>

		<published>2007-11-15T07:32:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78389#p78389</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78389#p78389"/>
		<title type="html"><![CDATA[Get topic from file.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78389#p78389"><![CDATA[
This should update the topic every hour:<div class="codebox"><p>Code: </p><pre><code>bind time - 00* updateTopicproc updateTopic args {set f [open yourtopicfile.txt]set topic [gets $f]close $fif {$topic!=""} {puthelp "TOPIC #yourchan :$topic"}}</code></pre></div>(Not tested. (Remember to change "yourtopicfile.txt" and "#yourchan" to suit your needs))<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Nov 15, 2007 7:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shnt]]></name></author>
		<updated>2007-11-15T05:35:51-04:00</updated>

		<published>2007-11-15T05:35:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78386#p78386</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78386#p78386"/>
		<title type="html"><![CDATA[Get topic from file.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78386#p78386"><![CDATA[
I need to get one string from file every 60-120 minutes and if it is not empty, then set it as topic on #channel. My file will always contain only one dynamic string with fixed lenght (or +- 2 chars).<br><br>Can anyone help me with such script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9463">shnt</a> — Thu Nov 15, 2007 5:35 am</p><hr />
]]></content>
	</entry>
	</feed>
