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

	<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>2004-02-06T12:35:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[guest]]></name></author>
		<updated>2004-02-06T12:35:12-04:00</updated>

		<published>2004-02-06T12:35:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33295#p33295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33295#p33295"/>
		<title type="html"><![CDATA[Time script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33295#p33295"><![CDATA[
nonono the url is correct the commented line was just the text that is infront of it... (exept the number is not the same...)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4435">guest</a> — Fri Feb 06, 2004 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TALES]]></name></author>
		<updated>2004-02-06T11:28:14-04:00</updated>

		<published>2004-02-06T11:28:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33288#p33288</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33288#p33288"/>
		<title type="html"><![CDATA[Time script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33288#p33288"><![CDATA[
the set url is wrong i think: should be <br><div class="codebox"><p>Code: </p><pre><code>set url "http://www.timeanddate.com/worldclock/city.html?n=120"</code></pre></div>and the regexp:<br><div class="codebox"><p>Code: </p><pre><code>#this is the line you want i think ??#&lt;th&gt;Current time&lt;/th&gt;&lt;td&gt;&lt;b&gt;Friday, February  6, #2004, at 10:17:34 AM&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;regexp -nocase {Current time&lt;/th&gt;&lt;td&gt;&lt;b&gt;(.*?)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;} $data data2 place time}</code></pre></div>dont know if it work try some<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4104">TALES</a> — Fri Feb 06, 2004 11:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[guest]]></name></author>
		<updated>2004-02-06T11:03:08-04:00</updated>

		<published>2004-02-06T11:03:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33286#p33286</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33286#p33286"/>
		<title type="html"><![CDATA[Time script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33286#p33286"><![CDATA[
Well Im making a Time script but It has some bugs and I cant fix it myself. plz help =)<div class="codebox"><p>Code: </p><pre><code>bind pub - .time pub:time1 bind msg - .time msg:time2 proc pub:time1 {nick host handle chan text} {pub:time $chan $text} proc msg:time2 {nick uhost hand text} {pub:time $nick $text} proc pub:time {chan text} { package require http  set url "http://www.timeanddate.com/worldclock/full.html?sort=1&amp;low=c"  set data [http::data [set socket [http::geturl $url]]] ; http::cleanup $socket  set time "" set place "" #                  &lt;a href="city.html?n=120"&gt; regexp  -nocase [subst -nocommands -noback {&gt;(.*?${text}.*?)&lt;/a&gt;&lt;/td&gt;&lt;td class=r&gt;(.*?)&lt;/td&gt;}] $data data2 place time #^I think this is errorus becouse  #regexp  -nocase [subst -nocommands -noback {&gt;.*?${text}.*?&lt;/a&gt;&lt;/td&gt;&lt;td class=r&gt;(.*?)&lt;/td&gt;}] $data data2 time #works puthelp "PRIVMSG $chan :Time In $place is: $time" }</code></pre></div>Well if somebody want to make it work faster or sumtin I would be happy too =P<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4435">guest</a> — Fri Feb 06, 2004 11:03 am</p><hr />
]]></content>
	</entry>
	</feed>
