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

	<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>2006-02-16T16:35:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[GeeX]]></name></author>
		<updated>2006-02-16T16:35:53-04:00</updated>

		<published>2006-02-16T16:35:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60480#p60480</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60480#p60480"/>
		<title type="html"><![CDATA[!ping script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60480#p60480"><![CDATA[
It is the real server ping  <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=6744">GeeX</a> — Thu Feb 16, 2006 4:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-02-15T19:31:55-04:00</updated>

		<published>2006-02-15T19:31:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60452#p60452</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60452#p60452"/>
		<title type="html"><![CDATA[!ping script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60452#p60452"><![CDATA[
Something like this will work as well<div class="codebox"><p>Code: </p><pre><code>bind pub n !lag lag:pubbind raw - PONG lag:rawproc lag:pub {nick uhost hand chan arg} { global sping if {![info exists sping([set chan [string tolower $chan]])]} {  putserv "ping [clock clicks]"  set sping($chan) 1 }}proc lag:raw {from kw arg} { global sping set lag [expr {([clock clicks]-[string trimleft [lindex [split $arg] e] :])/1000}] foreach {c v} [array get sping] {  puthelp "privmsg $c :Reply from $from: $lag ms" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Feb 15, 2006 7:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-02-15T13:08:33-04:00</updated>

		<published>2006-02-15T13:08:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60446#p60446</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60446#p60446"/>
		<title type="html"><![CDATA[!ping script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60446#p60446"><![CDATA[
That's not exactly the 'server' lag is it?<br><br>Eventhough ascii in a script is nice, when the actual ascii gets bigger then the code it's time to consider if it's really needed.<br><br><br>(UNTESTED!)<div class="codebox"><p>Code: </p><pre><code>bind PUB  n   !ping     pub:lagproc pub:lag {nick host hand chan args} {  global time tmpchan  set time [clock clicks]; set tmpchan $chan  bind RAW - 391 raw:catchlag  putquick "TIME"}proc raw:catchlag {from key info} {  global time tmpchan  unbind RAW - 391 raw:catchlag  putquick "PRIVMSG $tmpchan :[expr ([clock clicks] - $time)/1000] ms lag on [lindex [split $::server :] 0]"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Wed Feb 15, 2006 1:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mAxP]]></name></author>
		<updated>2006-02-14T18:14:50-04:00</updated>

		<published>2006-02-14T18:14:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60429#p60429</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60429#p60429"/>
		<title type="html"><![CDATA[!ping script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60429#p60429"><![CDATA[
&lt;3 THX<br><br>but is this script realy exact?<br>the pings are very high i hink i get over 180ms usualy <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7372">mAxP</a> — Tue Feb 14, 2006 6:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-02-14T15:04:29-04:00</updated>

		<published>2006-02-14T15:04:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60424#p60424</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60424#p60424"/>
		<title type="html"><![CDATA[!ping script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60424#p60424"><![CDATA[
change all occurances of <strong class="text-strong">1000.</strong> to just <strong class="text-strong">1000</strong> (without the decimal point).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 14, 2006 3:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mAxP]]></name></author>
		<updated>2006-02-14T14:59:25-04:00</updated>

		<published>2006-02-14T14:59:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60423#p60423</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60423#p60423"/>
		<title type="html"><![CDATA[!ping script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60423#p60423"><![CDATA[
hey cool thx <br><br>is it possible to change <br>(19:53:22) (@MAXP) !ping<br>(19:53:23) (@warb0t1) Ping 167.991ms<br>to<br><br>(19:53:22) (@MAXP) !ping<br>(19:53:23) (@warb0t1) Ping 167ms<br><br><br>i dont need the ping so exact<br><br>is it normal that the ping is that bad?<br>i tested 5 irc servers and all pings were &gt;150ms -.-<br><br>max<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7372">mAxP</a> — Tue Feb 14, 2006 2:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GeeX]]></name></author>
		<updated>2006-02-13T12:14:03-04:00</updated>

		<published>2006-02-13T12:14:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60403#p60403</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60403#p60403"/>
		<title type="html"><![CDATA[!ping script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60403#p60403"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># # #  __      __  __                  ______     # /\ \    /\ \/\ \                /\  _  \    # \ \ \/'\\ \ `\\ \    ___     ___\ \ \_\ \   #  \ \ , &lt; \ \ , ` \  / __`\  /'___\ \  __ \  #   \ \ \\`\\ \ \`\ \/\ \_\ \/\ \__/\ \ \/\ \ #    \ \_\ \_\ \_\ \_\ \____/\ \____\\ \_\ \_\#     \/_/\/_/\/_/\/_/\/___/  \/____/ \/_/\/_/# #   __ __    ______          __      ____                 ____                 ___      #  _\ \\ \__/\__  _\        /\ \    /\  _`\    __        /\  _`\           __ /\_ \      # /\__  _  _\/_/\ \/     ___\ \ \___\ \ \_\ \ /\_\    ___\ \ \_\_\     __ /\_\\//\ \    # \/__\ \\ \__ \ \ \    /'___\ \  _ `\ \  _ &lt;'\/\ \ /' _ `\ \ \  __  /'__`\/\ \ \ \ \   #   /\_   _  _\ \_\ \__/\ \__/\ \ \ \ \ \ \_\ \\ \ \/\ \/\ \ \ \/, \/\  __/\ \ \ \_\ \_ #   \/_/\_\\_\/ /\_____\ \____\\ \_\ \_\ \____/ \ \_\ \_\ \_\ \____/\ \____\\ \_\/\____\#      \/_//_/  \/_____/\/____/ \/_/\/_/\/___/   \/_/\/_/\/_/\/___/  \/____/ \/_/\/____/# # #                   kNocA #IchBinGeil @ QuakeNet irc.quakenet.org# # ## -------------------------------------------------------------------------------# Usage:# -------------------------------------------------------------------------------## !lag## -------------------------------------------------------------------------------bind pub n !lag lag:pubbind ctcp - lag lag:ctcpset lag(version)1.0proc lag:pub { nick host hand chan arg } {global lagset lag(start) [clock clicks]set lag(chan)$chanputquick "PRIVMSG $::botnick :\001LAG\001"}proc lag:ctcp { nick host hand dest key arg } {global lagif {$nick != $::botnick} { return }set lag(end) [clock clicks]if {[expr $lag(end) - $lag(start)] &gt; 1000000} {set time "[expr ($lag(end) - $lag(start)) / 1000 / 1000.]sec"} else {set time"[expr ($lag(end) - $lag(start)) / 1000.]ms"}putquick "PRIVMSG $lag(chan) :My lag on $::server: $time"}putlog "Lag-Script v$lag(version) by kNocA loaded."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6744">GeeX</a> — Mon Feb 13, 2006 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mAxP]]></name></author>
		<updated>2006-02-13T09:40:15-04:00</updated>

		<published>2006-02-13T09:40:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60401#p60401</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60401#p60401"/>
		<title type="html"><![CDATA[!ping script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60401#p60401"><![CDATA[
hu xperts <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>im looking for a tcl script for my BOTNET<br><br>i tipe "!ping" in public chan <br>and ALL bots should response with "ping : 90ms" -&gt; pinging the irc server they are connected on <br><br>i searched for it a long time <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>can somebody help me? <br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>THX A LOT<br><br>-&gt; ex.<br>(14:39:33) (@MAXP) !ping<br>(14:39:34) (@warb0t1) ping 83ms<br>(14:39:35) (@warb0t2) ping 73ms<br>(14:39:35) (@warbot3) ping 120ms<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7372">mAxP</a> — Mon Feb 13, 2006 9:40 am</p><hr />
]]></content>
	</entry>
	</feed>
