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

	<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>2005-06-16T18:36:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mrdr]]></name></author>
		<updated>2005-06-16T18:36:24-04:00</updated>

		<published>2005-06-16T18:36:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50901#p50901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50901#p50901"/>
		<title type="html"><![CDATA[online tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50901#p50901"><![CDATA[
Thanks, works. :}<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6362">mrdr</a> — Thu Jun 16, 2005 6:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-06-16T17:51:13-04:00</updated>

		<published>2005-06-16T17:51:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50899#p50899</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50899#p50899"/>
		<title type="html"><![CDATA[Re: online tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50899#p50899"><![CDATA[
Replace<div class="codebox"><p>Code: </p><pre><code>set onlinelaikas [expr [unixtime] - ${server-online}]</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>set onlinelaikas [duration [expr [unixtime] - ${server-online}]]</code></pre></div>$onlinelaikas will now return "?? days ?? hours ?? minutes ?? seconds"<br><br>Edit: demond was faster <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jun 16, 2005 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-06-16T17:50:24-04:00</updated>

		<published>2005-06-16T17:50:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50898#p50898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50898#p50898"/>
		<title type="html"><![CDATA[online tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50898#p50898"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[duration $onlinelaikas]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Jun 16, 2005 5:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrdr]]></name></author>
		<updated>2005-06-16T17:33:01-04:00</updated>

		<published>2005-06-16T17:33:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50896#p50896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50896#p50896"/>
		<title type="html"><![CDATA[online tcl help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50896#p50896"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set zenklas "!"set onlinelaikas [expr [unixtime] - ${server-online}]bind pub -|- ${zenklas}online online:laixproc online:laix {nick hand uhost chan arg} {global {server-online}set onlinelaikas [expr [unixtime] - ${server-online}]putquick "PRIVMSG $chan :Online @ IRC: $onlinelaikas"}</code></pre></div>Can anyone make this script show not seconds but weeks, days, hours, seconds?<br>ex: 3d 6h 26m 6s<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6362">mrdr</a> — Thu Jun 16, 2005 5:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
