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

	<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>2009-04-07T14:21:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-04-06T12:18:57-04:00</updated>

		<published>2009-04-06T12:18:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88320#p88320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88320#p88320"/>
		<title type="html"><![CDATA[[SOLVED] Excessive command use]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88320#p88320"><![CDATA[
I believe the most common term is "throttling".<br>I recall user posted a nice proc (function) called "throttled" a long time ago, to make it simple to add such checks to any code. A quick search in the forum would probably reveal it. (arfer's code should do the trick just as well).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Apr 06, 2009 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Way2Death]]></name></author>
		<updated>2009-04-06T09:49:21-04:00</updated>

		<published>2009-04-06T09:49:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88318#p88318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88318#p88318"/>
		<title type="html"><![CDATA[[SOLVED] Excessive command use]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88318#p88318"><![CDATA[
<blockquote class="uncited"><div>It doesn't have a specific name. It is simply one method of preventing overuse of a command. Command flood control I suppose you could say.</div></blockquote>All right, thanks so much =D i appreciate the help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10578">Way2Death</a> — Mon Apr 06, 2009 9:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-04-06T09:50:43-04:00</updated>

		<published>2009-04-06T09:46:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88317#p88317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88317#p88317"/>
		<title type="html"><![CDATA[[SOLVED] Excessive command use]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88317#p88317"><![CDATA[
It doesn't have a specific name. It is simply one method of preventing overuse of a command. Command flood control I suppose you could say.<br><br>btw I have edited the code a little, be sure to reread it<br><br>In plain english, the command will only trigger if the last time it was used is more than 299 seconds ago (or if the bot was just rehashed/restarted).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Apr 06, 2009 9:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Way2Death]]></name></author>
		<updated>2009-04-06T09:40:36-04:00</updated>

		<published>2009-04-06T09:40:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88316#p88316</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88316#p88316"/>
		<title type="html"><![CDATA[[SOLVED] Excessive command use]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88316#p88316"><![CDATA[
All right thanks, so what is this called? Excessive command use?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10578">Way2Death</a> — Mon Apr 06, 2009 9:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-04-06T09:37:36-04:00</updated>

		<published>2009-04-06T09:37:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88315#p88315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88315#p88315"/>
		<title type="html"><![CDATA[[SOLVED] Excessive command use]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88315#p88315"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set vFlood [expr {[unixtime] - 300}]bind PUB - !show pShowproc pShow {nick uhost hand channel txt} {    global vFlood    if {[expr {[unixtime] - $vFlood}] &gt; 299} {        set vFlood [unixtime]        # your code here    } else {putserv "PRIVMSG $channel :sorry $nick, there is a 5 minute wait between successive uses of the command !show"}    return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Apr 06, 2009 9:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Way2Death]]></name></author>
		<updated>2009-04-07T14:21:03-04:00</updated>

		<published>2009-04-06T08:59:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88314#p88314</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88314#p88314"/>
		<title type="html"><![CDATA[[SOLVED] Excessive command use]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88314#p88314"><![CDATA[
He this should be simple, but i cant seem to find the right keyword to search it.... <br><br>how would i set a lock on my command to prevent it from over using,<br>like if you type<br>!show<br>!show<br>you would get : Please wait at least  5 minutes to re-use this command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10578">Way2Death</a> — Mon Apr 06, 2009 8:59 am</p><hr />
]]></content>
	</entry>
	</feed>
