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

	<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>2013-02-25T12:43:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[kerum]]></name></author>
		<updated>2013-02-25T12:43:38-04:00</updated>

		<published>2013-02-25T12:43:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101123#p101123</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101123#p101123"/>
		<title type="html"><![CDATA[Reporting on new data]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101123#p101123"><![CDATA[
Yeah, I thought, does it only report blocks from there.<br><br>Anyway, thanks a lot then. <br><br>If we ever meet, you gave a beer  <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=12174">kerum</a> — Mon Feb 25, 2013 12:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nimos]]></name></author>
		<updated>2013-02-24T17:38:06-04:00</updated>

		<published>2013-02-24T17:38:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101117#p101117</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101117#p101117"/>
		<title type="html"><![CDATA[Reporting on new data]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101117#p101117"><![CDATA[
I'm not sure what you mean with your first question, it will report blocks from the "recent blocks" table at the link you gave. <br>It will probably work on any other page with the exact same layout, if there are any, I mainly added the link into the configuration for the case that the address changes someday.<br><br>It will by the way report into a channel, the command PRIVMSG is used both for channel messages and user messages in IRC. You can set the channel at the top of the script.<br><br>Also any Bitcoins would be wasted on me, I have a wallet somewhere but I never used it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9877">Nimos</a> — Sun Feb 24, 2013 5:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kerum]]></name></author>
		<updated>2013-02-24T04:48:13-04:00</updated>

		<published>2013-02-24T04:48:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101112#p101112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101112#p101112"/>
		<title type="html"><![CDATA[Reporting on new data]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101112#p101112"><![CDATA[
Cool. Will try it out.<br>Will it only report blocks from Eligius-Ra?<br><br>And one more thing, will you make it announce in a specific channel, not PRIVMSG.<br><br>P.S. If you have a Bitcoin address, give it to me, I'll pay you a beer.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12174">kerum</a> — Sun Feb 24, 2013 4:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nimos]]></name></author>
		<updated>2013-02-23T23:18:32-04:00</updated>

		<published>2013-02-23T23:18:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101111#p101111</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101111#p101111"/>
		<title type="html"><![CDATA[Reporting on new data]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101111#p101111"><![CDATA[
this is pretty old, but there wasn't anything else to do here and I wanted to do something...<br><div class="codebox"><p>Code: </p><pre><code>#### Settingsset blocks_url "http://eligius.st/~wizkid057/newstats/"set blocks_channel "#ilikeblocks"set blocks_interval 5# end of settings##package require http;proc getBlocks {} {set http [http::geturl $::blocks_url]set data [http::data $http]http::cleanup $httpreturn [lindex [regexp -inline -nocase {.*&lt;a href=\"http://blockchain\.info/block/(.*?)\"&gt;.*} $data] 1]}if {![info exists blocks_running]} {set blocks_current [getBlocks]timer 5 blockTimerset blocks_running 1}proc blockTimer {} {set newblock [getBlocks]if {$newblock != $::blocks_current} {set ::blocks_current $newblockputserv "PRIVMSG $::blocks_channel :New Block found! Hash: $newblock"}timer 5 blockTimer}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9877">Nimos</a> — Sat Feb 23, 2013 11:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kerum]]></name></author>
		<updated>2013-02-09T02:57:58-04:00</updated>

		<published>2013-02-09T02:57:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100938#p100938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100938#p100938"/>
		<title type="html"><![CDATA[Reporting on new data]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100938#p100938"><![CDATA[
Hi. I would need eggdrop to go on this website: <a href="http://eligius.st/~wizkid057/newstats/" class="postlink">http://eligius.st/~wizkid057/newstats/</a><br>And report if a new block is found. It should go every five minutes.<br>And if a new block is found, it should say that in the IRC channel, if not, keep quiet.<br><br>Thank you very much.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12174">kerum</a> — Sat Feb 09, 2013 2:57 am</p><hr />
]]></content>
	</entry>
	</feed>
