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

	<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-09-08T21:33:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-09-08T21:33:29-04:00</updated>

		<published>2004-09-08T21:33:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40727#p40727</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40727#p40727"/>
		<title type="html"><![CDATA[Check Lag TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40727#p40727"><![CDATA[
<blockquote class="uncited"><div>hmmmm thats good... but i was thinking more along the lines of 1m47s... users get really confused sometimes...</div></blockquote>If the output is 1m47s:<br>You can split the string from "m" and then make two seperate variables out of it one for '1 minute' and the other for '47 seconds'. In the 47s you will need to trimright the "s".<br><br>Then you can give and output of both variables joining them together with<br>somelike I use "[$var1] min and [$var2] secs." or "[$var1].[$var2] mins/secs"<br><br>Which will give the results:<br>Your ping reply is 1 min and 47 seconds. -or-<br>Your ping reply is 1.47 mins/secs.<br><br>There is a script by eggping.tcl by Souperman which does the same and you can find it on <a href="http://www.egghelp.org" class="postlink">www.egghelp.org</a>. It's name is eggping.tcl which gives replies in milliseconds. <br><br>Side note: You need to atleast have TCL 8.3 or greater to get replies in milliseconds.  <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=4875">awyeah</a> — Wed Sep 08, 2004 9:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[lilGTO]]></name></author>
		<updated>2004-09-08T17:03:00-04:00</updated>

		<published>2004-09-08T17:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40721#p40721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40721#p40721"/>
		<title type="html"><![CDATA[thats ok....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40721#p40721"><![CDATA[
hmmmm thats good... but i was thinking more along the lines of 1m47s... users get really confused sometimes...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5365">lilGTO</a> — Wed Sep 08, 2004 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-09-08T15:48:58-04:00</updated>

		<published>2004-09-08T15:48:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40719#p40719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40719#p40719"/>
		<title type="html"><![CDATA[Check Lag TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40719#p40719"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>putmsg $::lagchan "\273\273 Current Networklag: [expr (([clock clicks] - $::lag)/2)/100.] s" </code></pre></div>Dunno if it works, go test it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Wed Sep 08, 2004 3:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[lilGTO]]></name></author>
		<updated>2004-09-08T13:48:42-04:00</updated>

		<published>2004-09-08T13:48:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40716#p40716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40716#p40716"/>
		<title type="html"><![CDATA[Check Lag TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40716#p40716"><![CDATA[
I was wondering what i could change in the tcl script mettwursts_lagcheck_v1.8.tcl that shows me the lag in ms....<br><br>What i want is the time in seconds... here is the line that converts the lag to ms.....<br><br>putmsg $::lagchan "\273\273 Current Networklag: [expr (([clock clicks] - $::lag)/2)/1000.] ms"<br><br>Thanks for the help,<br>lilGTO<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5365">lilGTO</a> — Wed Sep 08, 2004 1:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
