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

	<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-07T06:18:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-07T06:18:35-04:00</updated>

		<published>2003-09-07T06:18:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26679#p26679</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26679#p26679"/>
		<title type="html"><![CDATA[!ping only replys for me]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26679#p26679"><![CDATA[
yes, I compared it to another script, I noticed that the CHECK thing is extra.. so I changed it to \001ping [clock clicks]\001<br><br>now it works <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> thanx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Sep 07, 2003 6:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-09-07T05:31:19-04:00</updated>

		<published>2003-09-07T05:31:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26676#p26676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26676#p26676"/>
		<title type="html"><![CDATA[Re: !ping only replys for me]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26676#p26676"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>proc validnum {num} { return [expr [scan $num "%f%s" a b] == 1]}proc pub_ping {nick uhost hand chan arg} {global channel  if {![isbotnick $nick]} { puthelp "PRIVMSG $nick :[list \001PING CHECK [clock clicks] $chan \001]" }  set channel $chan}proc ctcr_ping {nick uhost hand dest keyword arg} {global channel if {([lindex $arg 0] == "CHECK") &amp;&amp; ([validnum [set time [lindex $arg 1]]])} { puthelp "PRIVMSG $channel :\[\002$nick\002 PING reply\]: [expr abs([clock clicks] - $time) / 1000000.0] seconds" } unset channel}bind pub -|- !ping pub_pingbind pub -|- !pingme pub_pingbind ctcr - PING ctcr_ping</code></pre></div>it looks fine to me, but why doesn't it reply the ping on channel unless its me who's requesting !ping.<br>I noticed that it doesn't get a ping reply from anyone except me.</div></blockquote>I don't know where you pulled "CHECK" from, but most clients respond to<br>"PING" alone (and/or followed by a unix time).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Sep 07, 2003 5:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-07T05:27:36-04:00</updated>

		<published>2003-09-07T05:27:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26675#p26675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26675#p26675"/>
		<title type="html"><![CDATA[!ping only replys for me]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26675#p26675"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc validnum {num} { return [expr [scan $num "%f%s" a b] == 1]}proc pub_ping {nick uhost hand chan arg} {global channel  if {![isbotnick $nick]} { puthelp "PRIVMSG $nick :[list \001PING CHECK [clock clicks] $chan \001]" }  set channel $chan}proc ctcr_ping {nick uhost hand dest keyword arg} {global channel if {([lindex $arg 0] == "CHECK") &amp;&amp; ([validnum [set time [lindex $arg 1]]])} { puthelp "PRIVMSG $channel :\[\002$nick\002 PING reply\]: [expr abs([clock clicks] - $time) / 1000000.0] seconds" } unset channel}bind pub -|- !ping pub_pingbind pub -|- !pingme pub_pingbind ctcr - PING ctcr_ping</code></pre></div>it looks fine to me, but why doesn't it reply the ping on channel unless its me who's requesting !ping.<br>I noticed that it doesn't get a ping reply from anyone except me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Sep 07, 2003 5:27 am</p><hr />
]]></content>
	</entry>
	</feed>
