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

	<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>2008-12-01T21:04:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-12-01T21:04:45-04:00</updated>

		<published>2008-12-01T21:04:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86041#p86041</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86041#p86041"/>
		<title type="html"><![CDATA[pauze code for xx secs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86041#p86041"><![CDATA[
Pretty much, yeah<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Dec 01, 2008 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paull]]></name></author>
		<updated>2008-12-01T14:23:55-04:00</updated>

		<published>2008-12-01T14:23:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86036#p86036</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86036#p86036"/>
		<title type="html"><![CDATA[pauze code for xx secs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86036#p86036"><![CDATA[
Good idea, thanks.<br><br>So the code will be something like(?):<br><div class="codebox"><p>Code: </p><pre><code> putallbots "!channel $test1 $test2" utimer 5 [list usetest $test1 $test2]}proc usetest {test1 test2} {</code></pre></div><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10338">paull</a> — Mon Dec 01, 2008 2:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-12-01T12:32:25-04:00</updated>

		<published>2008-12-01T12:32:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86034#p86034</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86034#p86034"/>
		<title type="html"><![CDATA[pauze code for xx secs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86034#p86034"><![CDATA[
I would recommend splitting this into two separate procs, calling the second one from the first using <strong class="text-strong">utimer</strong>. Any proc that "blocks" (delays) will block your whole eggdrop, preventing it from taking any further actions until your proc completes.<br><br>Keeping that in mind, you could use the <strong class="text-strong">after</strong> command to simply hold your script for a specified amount of time. I would still strongly advice against this in favour of using timers.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Dec 01, 2008 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paull]]></name></author>
		<updated>2008-12-01T10:25:05-04:00</updated>

		<published>2008-12-01T10:25:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86031#p86031</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86031#p86031"/>
		<title type="html"><![CDATA[pauze code for xx secs]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86031#p86031"><![CDATA[
I am looking for a code that will wait xx sec before it goes to th next part.<br><br>Past of my code:<br><div class="codebox"><p>Code: </p><pre><code>    putallbots "!channel $chan $nick"    (hold for xx secs)    set output [::mysql::sel $db "SELECT * FROM channel WHERE nick = '$nick' LIMIT 1;" -list]    if {[string equal $output ""] != 1} {        ::mysql::close $db        return 0       }</code></pre></div>The putallbots send the stuff to the other bots, then I want to code to hold for 2 secs before it goes on to the query part. <br><br>Anyone know how I can do this?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10338">paull</a> — Mon Dec 01, 2008 10:25 am</p><hr />
]]></content>
	</entry>
	</feed>
