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

	<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>2011-03-09T15:23:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cimeran]]></name></author>
		<updated>2011-03-09T15:23:21-04:00</updated>

		<published>2011-03-09T15:23:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96426#p96426</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96426#p96426"/>
		<title type="html"><![CDATA[Run function every X seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96426#p96426"><![CDATA[
I'm using the rss-synd script on the tcl script archive. It caches the last instance of the file and only posts the new items. Search for it and I'm sure you'll find it.<br><br>As for the other question, it's a news feed that needs to be close to instantaneous. We own the server so no possibility of getting banned.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11589">cimeran</a> — Wed Mar 09, 2011 3:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2011-03-07T14:34:42-04:00</updated>

		<published>2011-03-07T14:34:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96368#p96368</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96368#p96368"/>
		<title type="html"><![CDATA[Run function every X seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96368#p96368"><![CDATA[
@cimeran<br>How do you check the rss feed for new entries and only let the bot post the new ones? I'm also interested in such a script. Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Mon Mar 07, 2011 2:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-03-05T04:18:15-04:00</updated>

		<published>2011-03-05T04:18:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96310#p96310</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96310#p96310"/>
		<title type="html"><![CDATA[Run function every X seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96310#p96310"><![CDATA[
A few times a minute? What's that feed about?<br><br>There's no need to fetch the rss if it isn't updated any sooner, cos you will end up stressing out the server that hosts the feed and you will get banned sooner or later (only if it isn't your server). <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=187">caesar</a> — Sat Mar 05, 2011 4:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cimeran]]></name></author>
		<updated>2011-03-05T03:57:17-04:00</updated>

		<published>2011-03-05T03:57:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96309#p96309</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96309#p96309"/>
		<title type="html"><![CDATA[Re: Run function every X seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96309#p96309"><![CDATA[
<blockquote class="uncited"><div>How often is that RSS feed being updated?</div></blockquote>A few times a minute. The big thing is that we have to get from the rss feed to the room as quickly as we can. The utimer is set to 10 seconds right now and it seems to be running okay.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11589">cimeran</a> — Sat Mar 05, 2011 3:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-03-05T03:17:48-04:00</updated>

		<published>2011-03-05T03:17:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96307#p96307</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96307#p96307"/>
		<title type="html"><![CDATA[Run function every X seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96307#p96307"><![CDATA[
How often is that RSS feed being updated?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Mar 05, 2011 3:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cimeran]]></name></author>
		<updated>2011-03-05T00:12:41-04:00</updated>

		<published>2011-03-05T00:12:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96304#p96304</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96304#p96304"/>
		<title type="html"><![CDATA[Re: Run function every X seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96304#p96304"><![CDATA[
Whoops, found what I needed. From the Eggdrop FAQ I changed...<div class="codebox"><p>Code: </p><pre><code>if {![info exists myproc_running]} {       timer 20 myproc                          set myproc_running 1                   }                                                                                 proc myproc {} {                             # your stuff here ...                    # ...                                    timer 20 myproc                          return 1                             }</code></pre></div>...to use "utimer" instead of timer.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11589">cimeran</a> — Sat Mar 05, 2011 12:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cimeran]]></name></author>
		<updated>2011-03-04T23:56:58-04:00</updated>

		<published>2011-03-04T23:56:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96303#p96303</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96303#p96303"/>
		<title type="html"><![CDATA[Run function every X seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96303#p96303"><![CDATA[
Hi folks. New to eggdrop and appreciate any help.<br><br>Goal: to monitor an RSS feed and post new items as quickly as possible to a channel.<br><br>Found an rss tcl script or two that does what I need, but I'd like to set it to run the required function every x seconds instead of every x minutes (bind time line). <br><br>This possible in eggdrop? Of course if anyone has a better idea of how to implement this I'm all ears.<br><br>Thanks in advance and I hope this is the correct forum to post to.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11589">cimeran</a> — Fri Mar 04, 2011 11:56 pm</p><hr />
]]></content>
	</entry>
	</feed>
