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

	<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>2021-04-23T21:41:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-04-23T21:41:14-04:00</updated>

		<published>2021-04-23T21:41:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109777#p109777</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109777#p109777"/>
		<title type="html"><![CDATA[world time tcl returning weird inacurate times]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109777#p109777"><![CDATA[
i had the same CrazyCat , it seems there is no reliable source that can be used for tcl to get proper timezones<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Apr 23, 2021 9:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-04-23T17:58:56-04:00</updated>

		<published>2021-04-23T17:58:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109776#p109776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109776#p109776"/>
		<title type="html"><![CDATA[world time tcl returning weird inacurate times]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109776#p109776"><![CDATA[
Well, the website (in fact cloudflare) returns me error 1051 "You are being rate limited", that's the first time I go on it.<br>I think that <a href="http://localtimes.mobi" class="postlink">http://localtimes.mobi</a> can be forget...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Apr 23, 2021 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-04-23T15:46:49-04:00</updated>

		<published>2021-04-23T15:46:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109775#p109775</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109775#p109775"/>
		<title type="html"><![CDATA[world time tcl returning weird inacurate times]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109775#p109775"><![CDATA[
i was trying out this tcl not sure who the author  is but it doesnt return accurate times not sure if anyone  has a working version of this ?<br><br><br><div class="codebox"><p>Code: </p><pre><code>bind pub - !tz worldntimeproc worldntime {nick uhost hand chan text} {  if {![throttled2021x $chan:$chan 10]} {     if {![llength $text]} { puthelp "privmsg $chan :Usage: $::lastbind &lt;location&gt;"; return 0 }   set token [http::geturl http://localtimes.mobi/search/?s=[join $text +]&amp;x=0&amp;y=0 -timeout 9000]   set data [http::data $token]   ::http::cleanup $token   if {[regexp -- {Home&lt;/a&gt;(.+?)&lt;/span&gt;.+?&lt;div class="timeinfo"&gt;(.+?)&lt;/div&gt;.+?&lt;div class="tz_container"&gt;(.+?)&lt;/li&gt;} $data - loc t1 t2]} {      puthelp "privmsg $chan :\00304[cleanup $loc]\003: [cleanup $t1]"      puthelp "privmsg $chan :[cleanup $t2]"   } else { puthelp "privmsg $chan :No Information Found For \"$text\". Please, You Can Be More Specific!"; return }}   return 0}proc cleanup str {   regsub -all -- {(?:&lt;label&gt;|&lt;/label&gt;)} $str \002 str   regsub -all -- "&lt;.+?&gt;" $str " " str   regsub -all -- {»} $str \003\u00bb\00304 str   regsub -all -- { } $str { } str   regsub -all -- {\s+} $str { } str   return $str} proc throttled2021x {id time} {   global throttled   if {[info exists throttled($id)]} {      return 1   } {      set throttled($id) [utimer $time [list unset throttled($id)]]      return 0   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Apr 23, 2021 3:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
