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

	<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>2003-04-29T19:56:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[BrollY]]></name></author>
		<updated>2003-04-29T19:56:19-04:00</updated>

		<published>2003-04-29T19:56:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19659#p19659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19659#p19659"/>
		<title type="html"><![CDATA[using the clock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19659#p19659"><![CDATA[
thanks for the help<br><br>btw, i changed ppslims code to this<br><br>set timehere [clock seconds] <br>set format [clock format [expr ((6 * 60) * 60) + $timehere] -format "little letters here"] <br><br><br>that being wat i was looking for but works fine, thanks a bunch<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3056">BrollY</a> — Tue Apr 29, 2003 7:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-04-29T18:44:09-04:00</updated>

		<published>2003-04-29T18:44:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19656#p19656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19656#p19656"/>
		<title type="html"><![CDATA[using the clock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19656#p19656"><![CDATA[
Read about 'clock format' in the manual... I suggest something like this:<br><br>set diff 6<br><br>then:<br><br>clock format [clock scan ${diff}hour] -format %T<br><br>or:<br><br>clock format [expr [clock seconds]+($diff*3600)] -format %T<br><br>There might be better ways, though... Take a look at this man page <a href="http://tcl.tk/man/tcl8.4/TclCmd/clock.htm" class="postlink">http://tcl.tk/man/tcl8.4/TclCmd/clock.htm</a><br><br><br>Edit: damn...when will i learn to reload to check if other people have answered before i post <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br>As you can see, I did the same math as ppslim in my last example.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Apr 29, 2003 6:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-29T18:36:26-04:00</updated>

		<published>2003-04-29T18:36:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19655#p19655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19655#p19655"/>
		<title type="html"><![CDATA[using the clock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19655#p19655"><![CDATA[
The only way to go about this, it to do a bit of Math.<br><div class="codebox"><p>Code: </p><pre><code>set timehere [clock seconds]set format [clock format [expr ((6 * 60) * 60) + $timehere]]</code></pre></div>As you can see, you add 6 hours onto the time.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Apr 29, 2003 6:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BrollY]]></name></author>
		<updated>2003-04-29T17:58:08-04:00</updated>

		<published>2003-04-29T17:58:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19651#p19651</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19651#p19651"/>
		<title type="html"><![CDATA[using the clock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19651#p19651"><![CDATA[
well, so far i just learned how to return the current date and local time with the clock format thing, but i was wondering if there was a way to check the time in another part of the country, or atleast pretend to do it.<br><br>for example, my timezone is AST, which is the same as EST when DST isnt applied, n i want the bot to display the current CET time (which is 6 hours ahead of me without DST), how would i go about making the bot display the time 6 hours ahead, as if it was CET.<br><br>i dont think many will understand this from the first try at reading it, i just seriously suck with explanations<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3056">BrollY</a> — Tue Apr 29, 2003 5:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
