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

	<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-10-25T09:17:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-10-25T09:17:21-04:00</updated>

		<published>2004-10-25T09:17:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42213#p42213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42213#p42213"/>
		<title type="html"><![CDATA[timed events]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42213#p42213"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>% proc ver {} { return [clock seconds] }<br>% ver<br>1098618251<br>% after 1000 ver<br>after#2<br>%</div></blockquote>i also tryed this but it doesn't return anything.. i kept waiting .. but .. 1000 ms = 1 sec right hehe <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> , but nothing happend..</div></blockquote>You didn't enter the event loop (stdin is blocking in tclsh by default) You can force an update by invoking 'update' when testing stuff.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Oct 25, 2004 9:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-24T07:52:32-04:00</updated>

		<published>2004-10-24T07:52:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42145#p42145</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42145#p42145"/>
		<title type="html"><![CDATA[timed events]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42145#p42145"><![CDATA[
<blockquote class="uncited"><div>% proc ver {} { return [clock seconds] }<br>% ver<br>1098618251<br>% after 1000 ver<br>after#2<br>%</div></blockquote>i also tryed this but it doesn't return anything.. i kept waiting .. but .. 1000 ms = 1 sec right hehe <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> , but nothing happend..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Oct 24, 2004 7:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-24T07:06:15-04:00</updated>

		<published>2004-10-24T07:06:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42144#p42144</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42144#p42144"/>
		<title type="html"><![CDATA[timed events]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42144#p42144"><![CDATA[
well i got a problem with after cause it freezes all events.. and clock i am asuming that u mean to match <br><div class="codebox"><p>Code: </p><pre><code>clock format [clock seconds] -format {%S %M %H %d %m %Y}</code></pre></div>i know how to match it only problem is that i need something that doesn't freeze .. my socket.. after will make the socket freeze .. <br><br>i got something .. that works but it freezes everything.. calling a proc again dies .. <br><br>calling back a proc gives me this .. even with after .. :/<br><blockquote class="uncited"><div>ERROR --&gt; too many nested calls to Tcl_EvalObj (infinite loop?)</div></blockquote>could u maybe give me an example ?? simple script ..? might over looked something .. ive checked the manual several times can't find a good command to do so and i can't think of a proc that will do this utimer yes but thats nota avail in shell ://<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Oct 24, 2004 7:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-10-24T05:44:01-04:00</updated>

		<published>2004-10-24T05:44:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42143#p42143</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42143#p42143"/>
		<title type="html"><![CDATA[timed events]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42143#p42143"><![CDATA[
use <a href="http://www.tcl.tk/man/tcl8.5/TclCmd/clock.htm" class="postlink">clock</a> and <a href="http://www.tcl.tk/man/tcl8.5/TclCmd/after.htm" class="postlink">after</a> to make your own timed proc <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=852">Papillon</a> — Sun Oct 24, 2004 5:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-24T04:51:55-04:00</updated>

		<published>2004-10-24T04:51:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42138#p42138</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42138#p42138"/>
		<title type="html"><![CDATA[timed events]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42138#p42138"><![CDATA[
is there a way to start a atimed event in a shell script without interrupting or freezing other procs that are running???<br><br><br>like bind time ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Oct 24, 2004 4:51 am</p><hr />
]]></content>
	</entry>
	</feed>
