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

	<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-05-29T23:33:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-05-29T23:33:05-04:00</updated>

		<published>2004-05-29T23:33:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36743#p36743</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36743#p36743"/>
		<title type="html"><![CDATA[bug with &quot;clock clicks -milliseconds&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36743#p36743"><![CDATA[
Well, I think using abs() will solve the problem.<br><br>set temp "[expr abs([clock clicks -milliseconds] - $ping) / 1000.0]"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat May 29, 2004 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-05-29T11:16:23-04:00</updated>

		<published>2004-05-29T11:16:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36718#p36718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36718#p36718"/>
		<title type="html"><![CDATA[bug with &quot;clock clicks -milliseconds&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36718#p36718"><![CDATA[
the problem is that it has a - value i gues .. try to make it possitive i have experianced this to before it comes and goes don't know why ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat May 29, 2004 11:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Caribou]]></name></author>
		<updated>2004-05-28T09:11:20-04:00</updated>

		<published>2004-05-28T09:11:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36676#p36676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36676#p36676"/>
		<title type="html"><![CDATA[bug with &quot;clock clicks -milliseconds&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36676#p36676"><![CDATA[
I forgot to say, its a !ping command for users<br><br>Here is the source code :<div class="codebox"><p>Code: </p><pre><code>bind pubm - *!ping pub:pingbind ctcr -|- PING ctcr:pingreplyproc pub:ping { nick uhost handle channel arg } { global ping status if {$status(listen) == "on" &amp;&amp; [llength [split $arg " "]] == "1"} {  set ping "[expr [clock clicks -milliseconds]]"  putserv "PRIVMSG $nick :\001PING $ping\001" }}proc ctcr:pingreply {nick uhost hand dest key arg} { global ping set temp "[expr [expr [clock clicks -milliseconds]. - $ping.] /1000.]" putquick "NOTICE $nick :15,2Ton 8Ping15 avec le bot est de 9$temp15 sec"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4823">Caribou</a> — Fri May 28, 2004 9:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Caribou]]></name></author>
		<updated>2004-05-28T08:51:55-04:00</updated>

		<published>2004-05-28T08:51:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36675#p36675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36675#p36675"/>
		<title type="html"><![CDATA[bug with &quot;clock clicks -milliseconds&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36675#p36675"><![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>Few weeks ago i did a ping reply on my bot using "clock clicks -milliseconds" to be more effective.<br><br>It worked nicely for about weeks, but now it is not working anymore, i did not modified the source code, its still the same...<br><br>I tried to see why its not working anymore, and i found that [clock clicks -milliseconds] is now giving a Negative number .. thats mean something like -845421547 .. then ping is not working anymore with a negative number.<br><br>Does anyone already had this sort of problem ? a [clock clicks command who give negative numbers ? i don't understand why it does this, maybe my shell hosting got bugged out ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> <br><br>Maybe this bot is just too much online and getting crazy..<br><br>Thanks for anyhelp and sorry for my bad english<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4823">Caribou</a> — Fri May 28, 2004 8:51 am</p><hr />
]]></content>
	</entry>
	</feed>
