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

	<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-02-26T08:34:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2004-02-26T08:34:14-04:00</updated>

		<published>2004-02-26T08:34:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34003#p34003</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34003#p34003"/>
		<title type="html"><![CDATA[Waiting A Few Seconds Before Getting A Value From A Proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34003#p34003"><![CDATA[
Thanks Man. U did it again!  <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=3555">CoMMy</a> — Thu Feb 26, 2004 8:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-02-24T16:18:03-04:00</updated>

		<published>2004-02-24T16:18:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33959#p33959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33959#p33959"/>
		<title type="html"><![CDATA[Waiting A Few Seconds Before Getting A Value From A Proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33959#p33959"><![CDATA[
Really, the best way to do a timer is to make a proc for it, not try to put a bunch of code in the timer command itself. So do something like this:<br><br>proc my_timer_func {} {<br>  putlog [isxalive]<br>  ... other stuff if necessary ...<br>  return 0<br>}<br><br>Then to call it, simply:<br><br>utimer 10 my_timer_func<br><br>The other way would be to do something like<br><br>utimer 10 {putlog [isxalive]}<br><br>But that's not as nice.<br><br>Yet another option is to modify the isxalive proc and add a putlog at the end to print out the value, and then your timer call would simply be<br><br>utimer 10 isxalive<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Feb 24, 2004 4:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2004-02-24T09:25:00-04:00</updated>

		<published>2004-02-24T09:25:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33944#p33944</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33944#p33944"/>
		<title type="html"><![CDATA[Waiting A Few Seconds Before Getting A Value From A Proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33944#p33944"><![CDATA[
stdragon said:<br><blockquote class="uncited"><div>I'm not sure what you mean. Do you mean that you want to call Is:X:Alive and then print the return value 10 seconds later? Or, you want to wait 10 seconds, then call Is:X:Alive and print the return value right away? Or...?</div></blockquote>I want the second one!!! I want to want to wait 10 seconds, then call Is:X:Alive and print the return value right away.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Tue Feb 24, 2004 9:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-02-23T09:57:35-04:00</updated>

		<published>2004-02-23T09:57:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33896#p33896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33896#p33896"/>
		<title type="html"><![CDATA[Waiting A Few Seconds Before Getting A Value From A Proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33896#p33896"><![CDATA[
I'm not sure what you mean. Do you mean that you want to call Is:X:Alive and then print the return value 10 seconds later? Or, you want to wait 10 seconds, then call Is:X:Alive and print the return value right away? Or...?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Feb 23, 2004 9:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2004-02-23T08:56:50-04:00</updated>

		<published>2004-02-23T08:56:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33893#p33893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33893#p33893"/>
		<title type="html"><![CDATA[Waiting A Few Seconds Before Getting A Value From A Proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33893#p33893"><![CDATA[
Hey Guys.<br>Im Stuck again.<br><br>I have a timer in a proc.<br><div class="codebox"><p>Code: </p><pre><code>utimer 10 "putlog {[Is:X:Alive]}"</code></pre></div>Everything is ok. What i mean is that the [Is:X:Alive] Gets the return from that proc. But what i want is to wait 10 seconds BEFORE it captures the return from the [Is:X:Alive] proc and not immediatelly.<br><br>Can you help?<br><br>Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Mon Feb 23, 2004 8:56 am</p><hr />
]]></content>
	</entry>
	</feed>
