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

	<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-04-09T03:38:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-09T03:38:06-04:00</updated>

		<published>2003-04-09T03:38:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18764#p18764</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18764#p18764"/>
		<title type="html"><![CDATA[Bot pings himself every minute, and says result in channel ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18764#p18764"><![CDATA[
Wonderfull <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>thanks a lot, exactly what I wanted it to do <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Wed Apr 09, 2003 3:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-04-08T16:39:23-04:00</updated>

		<published>2003-04-08T16:39:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18746#p18746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18746#p18746"/>
		<title type="html"><![CDATA[Bot pings himself every minute, and says result in channel ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18746#p18746"><![CDATA[
Instead of using ping, use another message. Something like:<br><div class="codebox"><p>Code: </p><pre><code># The channel you want the ping time announced inset selfping_chan "#sheepsex"if {![info exists selfping_loaded]} {  set selfping_loaded 1  bind msg - selfping got_selfping  bind time - * send_selfping}proc got_selfping {nick uhost hand text} {  global selfping_id selfping_chan  set parts [split $text]  if {[llength $parts] != 2} { return 0 }  foreach {id start_time} $parts {}  if {[string compare $id $selfping_id]} { return 0 }  unset selfping_id  set curtime [clock seconds]  incr curtime -$start_time  putserv "privmsg $selfping_chan :Self ping is $curtime seconds"  return 0}proc send_selfping {args} {  global botnick selfping_id  set selfping_id [rand 100000]  putserv "privmsg $botnick :selfping $selfping_id [clock seconds]"  return 0}putlog "Loaded: selfping by stdragon"</code></pre></div>Note -- I didn't test this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Apr 08, 2003 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-08T11:00:28-04:00</updated>

		<published>2003-04-08T11:00:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18732#p18732</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18732#p18732"/>
		<title type="html"><![CDATA[Bot pings himself every minute, and says result in channel ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18732#p18732"><![CDATA[
well, the topic says it all I guess. <br><br>I tried to use those ctcp ping functions, but it wasnt really working so far.  I want to use this because I set up an eggdrop on my webserver, and I want it to ping itself every minute, and then to say the amont of seconds in a chan.  Then I might modify it so that when the lag is more then 10 seconds it warns me that there might be something wrong with the webserver.<br><br>so, any suggestions on how to use the tcl ping for that ?<p>Statistics: Posted by Guest — Tue Apr 08, 2003 11:00 am</p><hr />
]]></content>
	</entry>
	</feed>
