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

	<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>2009-08-20T16:47:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-20T16:47:12-04:00</updated>

		<published>2009-08-20T16:47:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89999#p89999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89999#p89999"/>
		<title type="html"><![CDATA[calculating time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89999#p89999"><![CDATA[
The value of the supplied argument is too high and the result of the expr command has wrapped to a negative integer value. Hence, instead of adding to [clock seconds] which results in a future time string, it has been deducted from [clock seconds] which has given a past time string. It is not so much a bug, more of a limitation.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Thu Aug 20, 2009 4:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[uHost]]></name></author>
		<updated>2009-08-20T16:28:00-04:00</updated>

		<published>2009-08-20T16:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89998#p89998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89998#p89998"/>
		<title type="html"><![CDATA[calculating time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89998#p89998"><![CDATA[
Hehe<br><br>It works, but has a bug. I can't use more than 9 numbers.<br><br>&lt;uHost&gt; !time 12345678<br>&lt;Eggie&gt; 06:41 09/02/2033<br>&lt;uHost&gt; !time 123456789<br>&lt;Eggie&gt; 05:35 01/03/<strong class="text-strong">1972</strong><br><br>Thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10825">uHost</a> — Thu Aug 20, 2009 4:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-08-20T14:47:07-04:00</updated>

		<published>2009-08-20T14:47:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89996#p89996</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89996#p89996"/>
		<title type="html"><![CDATA[calculating time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89996#p89996"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># tomekk, http://forum.egghelp.org/viewtopic.php?t=17119bind pub -|- !time make_timeproc make_time { nick uhost hand chan arg } {set arg [lindex [split $arg] 0]if {[regexp {^[0-9]+$} $arg]} {set cdate [clock format [expr [clock seconds] + [expr $arg * 60]] -format "%H:%M %d/%m/%Y"]putquick "PRIVMSG $chan :$cdate"}}putlog "make-time.tcl ver 0.1 by tomekk loaded"</code></pre></div>try, didn't test ;p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Thu Aug 20, 2009 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[uHost]]></name></author>
		<updated>2009-08-20T14:29:20-04:00</updated>

		<published>2009-08-20T14:29:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89994#p89994</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89994#p89994"/>
		<title type="html"><![CDATA[calculating time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89994#p89994"><![CDATA[
Hello.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>can anyone help with a script?<br><br>I need a script calculating time in minutes. For exemple:<br><br>18:55 20/08/2009 &gt;&gt; Today<br><br>&lt;uHost&gt; !time 10<br>&lt;Eggie&gt; 19:05 20/08/2009<br>&lt;uHost&gt; !time 1440<br>&lt;Eggie&gt; 18:55 21/08/2009<br><br>I think you can understand me.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10825">uHost</a> — Thu Aug 20, 2009 2:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
