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

	<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-09-06T06:22:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2003-09-06T06:22:17-04:00</updated>

		<published>2003-09-06T06:22:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26615#p26615</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26615#p26615"/>
		<title type="html"><![CDATA[GetChanIdle Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26615#p26615"><![CDATA[
Ill give it a try and get back to you. Thanks again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sat Sep 06, 2003 6:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-09-06T04:36:02-04:00</updated>

		<published>2003-09-06T04:36:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26610#p26610</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26610#p26610"/>
		<title type="html"><![CDATA[GetChanIdle Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26610#p26610"><![CDATA[
<blockquote class="uncited"><div>-format "%m %w %d %H %M %S" with "expr" ?</div></blockquote>this -format is a parameter of the clock format command<div class="codebox"><p>Code: </p><pre><code>This would be the current date + time:[clock format [clock seconds] -format "%m %w %d %H %M %S"]This would be the current date + time + 8 minutes[clock format [expr [clock seconds] + 8 * 60] -format "%m %w %d %H %M %S"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Sat Sep 06, 2003 4:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2003-09-06T02:10:19-04:00</updated>

		<published>2003-09-06T02:10:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26601#p26601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26601#p26601"/>
		<title type="html"><![CDATA[GetChanIdle Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26601#p26601"><![CDATA[
That is what i wanted to know thanks. Can i use -format "%m %w %d %H %M %S" with "expr" ?<br><br>Sorry if you dont understand me im still a n00b at scripting really.<br><br>Thanks again<br><br>^DooM^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sat Sep 06, 2003 2:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-09-05T19:03:35-04:00</updated>

		<published>2003-09-05T19:03:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26593#p26593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26593#p26593"/>
		<title type="html"><![CDATA[GetChanIdle Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26593#p26593"><![CDATA[
<blockquote class="uncited"><div>lol i know how many seconds are in a minute  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  What i meant was i dont know how in code to transform 1 minute into seconds <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"></div></blockquote>i'm sorry if i dont really get what you mean...<br><div class="codebox"><p>Code: </p><pre><code>proc makesec { mins } {return [expr $mins *60]}</code></pre></div>is this what you ment ? the TCL code for this mathematic idea ? *confused*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Fri Sep 05, 2003 7:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2003-09-05T16:36:05-04:00</updated>

		<published>2003-09-05T16:36:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26586#p26586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26586#p26586"/>
		<title type="html"><![CDATA[GetChanIdle Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26586#p26586"><![CDATA[
lol i know how many seconds are in a minute  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  What i meant was i dont know how in code to transform 1 minute into seconds <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=3723">^DooM^</a> — Fri Sep 05, 2003 4:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-09-05T16:12:23-04:00</updated>

		<published>2003-09-05T16:12:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26585#p26585</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26585#p26585"/>
		<title type="html"><![CDATA[Re: duration]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26585#p26585"><![CDATA[
<blockquote class="uncited"><div>i dont know how to convert minutes to seconds either.</div></blockquote>ok, here comes the math teacher again...<br><br>1 minute = 60 secs<br>1 sec = 1/60 min<br><br>so what makes 5 minutes in seconds ? -&gt; 5 * 60<br><br>and if you want to do it with the "clock format" function you may have a look at the docs or see <a href="http://forum.egghelp.org/viewtopic.php?t=5499" class="postlink">http://forum.egghelp.org/viewtopic.php?t=5499</a> for an example<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Fri Sep 05, 2003 4:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2003-09-05T16:03:08-04:00</updated>

		<published>2003-09-05T16:03:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26583#p26583</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26583#p26583"/>
		<title type="html"><![CDATA[duration]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26583#p26583"><![CDATA[
I did read that but it converts from seconds rather than minutes and i dont know how to convert minutes to seconds either.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Sep 05, 2003 4:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-05T15:55:10-04:00</updated>

		<published>2003-09-05T15:55:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26582#p26582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26582#p26582"/>
		<title type="html"><![CDATA[GetChanIdle Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26582#p26582"><![CDATA[
There's a command called 'duration' in eggdrop (check doc/tcl-commands.doc)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Sep 05, 2003 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2003-09-05T15:30:26-04:00</updated>

		<published>2003-09-05T15:30:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26579#p26579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26579#p26579"/>
		<title type="html"><![CDATA[GetChanIdle Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26579#p26579"><![CDATA[
Hello again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I need Some help transforming the idle minutes stored by getchanidle to "months weeks days hours minutes seconds". rather than having it bring back something silly like 10324 minutes idle  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><br>Any help would be greatly appreciated. Thanks again<br><br>^DooM^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Sep 05, 2003 3:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
