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

	<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>2005-06-08T19:24:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-06-08T19:24:41-04:00</updated>

		<published>2005-06-08T19:24:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50436#p50436</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50436#p50436"/>
		<title type="html"><![CDATA[Question about interrupting a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50436#p50436"><![CDATA[
if you fetch the output from sql and put it via putserv/puthelp it will be filled within a few milliseconds in the server/help queue. so if you clear the queue, the output is interrupted. where the logical problem? the function cant be still running while the output is beeing actually send to server, it would stuck the bot <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Jun 08, 2005 7:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-06-08T15:03:56-04:00</updated>

		<published>2005-06-08T15:03:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50425#p50425</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50425#p50425"/>
		<title type="html"><![CDATA[Question about interrupting a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50425#p50425"><![CDATA[
okay, but it's irrelevant to that guy's problem; I presume he meant output a result as soon as it has been fetched from db - which means he has a lengthy fetch loop - and you can't interrupt that loop (not without using TCL's threads extension)<br><br>of course, if the output is pre-fetched, your solution might work (if the pace of the output is slow enough to be interruptable by triggering pub bind)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Jun 08, 2005 3:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-06-08T05:50:16-04:00</updated>

		<published>2005-06-08T05:50:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50416#p50416</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50416#p50416"/>
		<title type="html"><![CDATA[Question about interrupting a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50416#p50416"><![CDATA[
<blockquote class="uncited"><div>  clearqueue &lt;queue&gt;<br>    Description: removes all messages from a queue. Valid arguments are:<br>      mode, server, help, or all.<br>    Returns: the number of deleted lines from the specified queue.<br>    Module: server</div></blockquote>[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Wed Jun 08, 2005 5:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-06-07T19:04:08-04:00</updated>

		<published>2005-06-07T19:04:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50403#p50403</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50403#p50403"/>
		<title type="html"><![CDATA[Question about interrupting a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50403#p50403"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind pub n !stop stop:somethingproc stop:something {n u h c t} {  clearqueue all  putserv "NOTICE $n :Stopped all queue messages."}</code></pre></div>Ofcourse this will not work if the bot has already send everything to the server and the server is queueing the message</div></blockquote>what's "clearqueue"?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Jun 07, 2005 7:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-06-07T08:24:56-04:00</updated>

		<published>2005-06-07T08:24:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50369#p50369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50369#p50369"/>
		<title type="html"><![CDATA[Question about interrupting a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50369#p50369"><![CDATA[
you could also use a max number of lines setting.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Tue Jun 07, 2005 8:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-06-07T06:14:41-04:00</updated>

		<published>2005-06-07T06:14:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50367#p50367</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50367#p50367"/>
		<title type="html"><![CDATA[Question about interrupting a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50367#p50367"><![CDATA[
Would work if he's using the slowest query (puthelp) to output the data.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jun 07, 2005 6:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-06-07T05:42:55-04:00</updated>

		<published>2005-06-07T05:42:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50363#p50363</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50363#p50363"/>
		<title type="html"><![CDATA[Question about interrupting a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50363#p50363"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n !stop stop:somethingproc stop:something {n u h c t} {  clearqueue all  putserv "NOTICE $n :Stopped all queue messages."}</code></pre></div>Ofcourse this will not work if the bot has already send everything to the server and the server is queueing the message<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Tue Jun 07, 2005 5:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[-W0kk3L-]]></name></author>
		<updated>2005-06-06T13:45:25-04:00</updated>

		<published>2005-06-06T13:45:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50310#p50310</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50310#p50310"/>
		<title type="html"><![CDATA[Question about interrupting a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50310#p50310"><![CDATA[
Here i am again, with a small question. I don't know if it's possible, so i will ask the wise men and women <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I've got a script running which does a SQL query. The query returns (or can return) a large amount of data (like 10 to 20 lines of data) to the IRC channel. Is it possible to implement a command, like !stop or so, which stops the output flow the minute it is typed? (So it doesn't continue the whole flow).<br><br>I'm not sure if it can be done, because of the flood-protect of the eggdrop. I'm running the eggdrop on Quakenet (so if i flood too fast, the bot will be killed.... that's a stop too, but not the one i want <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">).<br><br>Thnx in advance for answering this question <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=2750">-W0kk3L-</a> — Mon Jun 06, 2005 1:45 pm</p><hr />
]]></content>
	</entry>
	</feed>
