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

	<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>2020-08-10T23:22:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2020-05-26T18:16:25-04:00</updated>

		<published>2020-05-26T18:16:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108480#p108480</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108480#p108480"/>
		<title type="html"><![CDATA[BitCoin Market Exchange Rate]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108480#p108480"><![CDATA[
<blockquote class="uncited"><div>There's nothing that can be fixed at this moment since mtgox.com is down. Find another website that offers this service and we can take it from there.</div></blockquote><a href="https://www.coingecko.com" class="postlink">https://www.coingecko.com</a><br><br>They don't even use an api because they say all info should be free.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Tue May 26, 2020 6:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-08-10T23:22:08-04:00</updated>

		<published>2020-05-04T15:43:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108380#p108380</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108380#p108380"/>
		<title type="html"><![CDATA[BitCoin Market Exchange Rate]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108380#p108380"><![CDATA[
hmm check out blackshadow's new currency.tcl<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Mon May 04, 2020 3:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2020-02-13T01:37:00-04:00</updated>

		<published>2020-02-13T01:37:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108013#p108013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108013#p108013"/>
		<title type="html"><![CDATA[BitCoin Market Exchange Rate]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108013#p108013"><![CDATA[
There's nothing that can be fixed at this moment since mtgox.com is down. Find another website that offers this service and we can take it from there.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 13, 2020 1:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[khalidxpert]]></name></author>
		<updated>2020-02-12T08:10:02-04:00</updated>

		<published>2020-02-12T08:10:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108011#p108011</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108011#p108011"/>
		<title type="html"><![CDATA[Re: i am unable to install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108011#p108011"><![CDATA[
<blockquote class="uncited"><div>hi there<br><br>i am getting error tls please help me to install bitcoin.tcl how i can fix tls problem</div></blockquote>i am also getting tls error any one will help ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9662">khalidxpert</a> — Wed Feb 12, 2020 8:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[khalidxpert]]></name></author>
		<updated>2018-03-23T12:24:23-04:00</updated>

		<published>2018-03-23T12:24:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106737#p106737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106737#p106737"/>
		<title type="html"><![CDATA[i am unable to install]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106737#p106737"><![CDATA[
hi there<br><br>i am getting error tls please help me to install bitcoin.tcl how i can fix tls problem<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9662">khalidxpert</a> — Fri Mar 23, 2018 12:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pitbull]]></name></author>
		<updated>2011-12-31T21:45:07-04:00</updated>

		<published>2011-12-31T21:45:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98443#p98443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98443#p98443"/>
		<title type="html"><![CDATA[BitCoin Market Exchange Rate]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98443#p98443"><![CDATA[
Here's something I scratched together to do this in our chan.  Thanks to speechless for the http/ssl part (the bulk of the code, really).<br><div class="codebox"><p>Code: </p><pre><code>package require httppackage require tlshttp::register https 443 [list ::tls::socket -require 0 -request 1]proc s:wget { url } {   http::config -useragent "Mozilla/EggdropWget"   catch {set token [http::geturl $url -binary 1 -timeout 10000]} error   if {![string match -nocase "::http::*" $error]} {      s:debug "Error: [string totitle [string map {"\n" " | "} $error]] \( $url \)"      return 0   }   if {![string equal -nocase [::http::status $token] "ok"]} {      s:debug "Http error: [string totitle [::http::status $token]] \( $url \)"      http::cleanup $token      return 0   }   if {[string match "*[http::ncode $token]*" "303|302|301" ]} {      upvar #0 $token state      foreach {name value} $state(meta) {         if {[regexp -nocase ^location$ $name]} {            if {![string match "http*" $value]} {               if {![string match "/" [string index $value 0]]} {                  set value "[join [lrange [split $url "/"] 0 2] "/"]/$value"               } else {                  set value "[join [lrange [split $url "/"] 0 2] "/"]$value"               }            }            s:wget $value            return         }      }   }   if {[string match 4* [http::ncode $token]] || [string match 5* [http::ncode $token]]} {      s:debug "Http resource is not evailable: [http::ncode $token] \( $url \)"      return 0   }    set data [http::data $token]    http::cleanup $token    return $data}bind pub - !btc get_bitcoinproc get_bitcoin {nick uhost handle chan arg} {   set data2 [s:wget https://mtgox.com/api/0/data/ticker.php]   set btc [regexp {high\":(.*?),\"low\":(.*?),\"avg\":(.*?),\"vwap\":.*?,\"vol\":(.*?),\"last_all\":.*?,\"last_local\":.*?,\"last\":.*?,\"buy\":(.*?),\"sell\":(.*?)\}} $data2 match btchigh btclow btcavg btcvol btcbuy btcsell]   putserv "PRIVMSG $chan :\002Bitcoin Market Data\002 (MtGox): High: \$$btchigh Low: \$$btclow Volume: $btcvol Buy: \$$btcbuy Sell: \$$btcsell" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9222">pitbull</a> — Sat Dec 31, 2011 9:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marx2k]]></name></author>
		<updated>2011-07-02T11:39:31-04:00</updated>

		<published>2011-07-02T11:39:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97147#p97147</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97147#p97147"/>
		<title type="html"><![CDATA[BitCoin Market Exchange Rate]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97147#p97147"><![CDATA[
They're back!<br><br><a href="https://mtgox.com/support/tradeAPI" class="postlink">https://mtgox.com/support/tradeAPI</a><br><br>So... anyone? anyone? Would be awesome!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11518">marx2k</a> — Sat Jul 02, 2011 11:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marx2k]]></name></author>
		<updated>2011-06-24T22:19:02-04:00</updated>

		<published>2011-06-24T22:19:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97089#p97089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97089#p97089"/>
		<title type="html"><![CDATA[BitCoin Market Exchange Rate]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97089#p97089"><![CDATA[
Hm, never mind. I guess mtgox has crapped out and is no longer offering the API I linked to :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11518">marx2k</a> — Fri Jun 24, 2011 10:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marx2k]]></name></author>
		<updated>2011-06-24T19:11:39-04:00</updated>

		<published>2011-06-24T19:11:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97088#p97088</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97088#p97088"/>
		<title type="html"><![CDATA[BitCoin Market Exchange Rate]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97088#p97088"><![CDATA[
?? nobody?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11518">marx2k</a> — Fri Jun 24, 2011 7:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[marx2k]]></name></author>
		<updated>2011-06-10T08:23:17-04:00</updated>

		<published>2011-06-10T08:23:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97010#p97010</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97010#p97010"/>
		<title type="html"><![CDATA[BitCoin Market Exchange Rate]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97010#p97010"><![CDATA[
It would be amazing if there was a script that would take the BitCoin market exchange rate from MtGox and provide a public trigger to display the data.<br><br>Their public API can be used here: <br><a href="https://mtgox.com/support/tradeAPI" class="postlink">https://mtgox.com/support/tradeAPI</a><br><br>Speicifically, ticker JSON results can be attained from :<br><a href="http://mtgox.com/code/data/ticker.php" class="postlink">http://mtgox.com/code/data/ticker.php</a><br><br>Perhaps a public trigger such as: !bc<br><br>Information can look like:<br>BitCoin Last Trade Data -- High: 31.5, Low: 25.626, Vol: 44193, Buy: 26.6, Sell: 26.7899, Last: 26.79<br><br>Perhaps have it configurable for single or multi-line.<br><br>Also... colors! <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=11518">marx2k</a> — Fri Jun 10, 2011 8:23 am</p><hr />
]]></content>
	</entry>
	</feed>
