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

	<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-12-09T22:13:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-12-09T22:13:30-04:00</updated>

		<published>2003-12-09T22:13:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31259#p31259</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31259#p31259"/>
		<title type="html"><![CDATA[utimer &amp; catch with help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31259#p31259"><![CDATA[
tnx man works great<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Dec 09, 2003 10:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-12-09T06:57:21-04:00</updated>

		<published>2003-12-09T06:57:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31230#p31230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31230#p31230"/>
		<title type="html"><![CDATA[Re: utimer &amp; catch with help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31230#p31230"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set ::timemsg($fidx) [utimer 50 [list catch {putdcc $fidx "$::colors(0)$::fserv(idle)"}]]</code></pre></div></div></blockquote>Since "fidx" seems to be a local variable, you probably want variable substitution before the argument is passed to 'utimer'. The braces prevent it, so just get rid of them and replace them with a call to 'list':<div class="codebox"><p>Code: </p><pre><code>set ::timemsg($fidx) [utimer 50 [list catch [list putdcc $fidx "$::colors(0)$::fserv(idle)"]]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Dec 09, 2003 6:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-12-09T06:35:15-04:00</updated>

		<published>2003-12-09T06:35:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31227#p31227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31227#p31227"/>
		<title type="html"><![CDATA[utimer &amp; catch with help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31227#p31227"><![CDATA[
i tryed ur suggestion and the result was the same if i where to use <br><div class="codebox"><p>Code: </p><pre><code>......[list procname $idx]</code></pre></div>= <div class="codebox"><p>Code: </p><pre><code>..... [list catch {commands ..}] </code></pre></div>so any one who might be able to give me short syntax example ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Dec 09, 2003 6:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-08T16:52:48-04:00</updated>

		<published>2003-12-08T16:52:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31204#p31204</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31204#p31204"/>
		<title type="html"><![CDATA[utimer &amp; catch with help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31204#p31204"><![CDATA[
call another proc in the timer. and in the proc do the checks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Dec 08, 2003 4:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-12-08T16:35:05-04:00</updated>

		<published>2003-12-08T16:35:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31203#p31203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31203#p31203"/>
		<title type="html"><![CDATA[utimer &amp; catch with help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31203#p31203"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set ::timemsg($fidx) [utimer 50 [list catch {putdcc $fidx "$::colors(0)$::fserv(idle)"}]]</code></pre></div>what is wrong if i use catch then it doesn't respond any more .. but if i don't it shows an error once the idx is gone .. so ..<br><br>so i wana know how to use utimer with catch or how i would use {} and use multiple lines :p so i can use if {[valididx $fidx]} {...}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Mon Dec 08, 2003 4:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
