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

	<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-03-12T09:26:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-03-12T09:26:44-04:00</updated>

		<published>2005-03-12T09:26:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47468#p47468</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47468#p47468"/>
		<title type="html"><![CDATA[hi i need some help with limit tcl,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47468#p47468"><![CDATA[
<blockquote class="uncited"><div>bind time - "<strong class="text-strong">*</strong> * * * *" time:ChanLimit<br>...<br>if {$currentlimit &lt; [expr $newlimit <strong class="text-strong">- 1</strong>] || $currentlimit &gt; [expr $newlimit <strong class="text-strong">+ 1</strong>]} {</div></blockquote>these are the key triggers how often it will be changed.<br>every 25min isnt very easy, for every 30 min you could replace the timebind with:<br>bind time - "30*" time:ChanLimit<br>bind time - "00*" time:ChanLimit<br><br>for every 10min it would be:<br>bind time - "?0*" time:ChanLimit<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Mar 12, 2005 9:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2005-03-12T09:05:13-04:00</updated>

		<published>2005-03-12T09:05:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47466#p47466</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47466#p47466"/>
		<title type="html"><![CDATA[hi i need some help with limit tcl,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47466#p47466"><![CDATA[
find:<div class="codebox"><p>Code: </p><pre><code>set newlimit [expr [llength [chanlist $chan]] + 5] </code></pre></div>and replace 5 with 25 (or what you wish) with something like like:<div class="codebox"><p>Code: </p><pre><code>set newlimit [expr [llength [chanlist $chan]] + 25] </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Mar 12, 2005 9:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-03-12T05:40:11-04:00</updated>

		<published>2005-03-12T05:40:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47458#p47458</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47458#p47458"/>
		<title type="html"><![CDATA[hi i need some help with limit tcl,]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47458#p47458"><![CDATA[
thats limit he changes the limit of channel vere 1mins,<br>pls i need help with this i wonna this limit change the limit vere 25 since<br>pls help me with this, and thanks, for all<br><br>##########################################################################<br># Binds                                                                  #<br>##########################################################################<br><br>bind time - "* * * * *" time:ChanLimit<br><br>##########################################################################<br># time:ChanLimit start                                                   #<br>##########################################################################<br><br>proc time:ChanLimit {min hour day month year} {<br>    foreach chan [channels] {<br>set newlimit [expr [llength [chanlist $chan]] + 5]<br>set currentlimit [currentlimit $chan]<br>if {$currentlimit &lt; [expr $newlimit - 1] || $currentlimit &gt; [expr $newlimit + 1]} {<br>    putserv "mode $chan +l $newlimit"<br>}<br>    }    <br>}<br><br>##########################################################################<br># time:ChanLimit end                                                     #<br>##########################################################################<br><br>##########################################################################<br># currentlimit start                                                     #<br>##########################################################################<br><br>proc currentlimit {chan} {<br>    set currentmodes [getchanmode $chan]<br>    if {[string match "*l*" [lindex $currentmodes 0]]} {<br>return [lindex $currentmodes end] <br>    }<br>    return 0<br>}<br><br>##########################################################################<br># currentlimit end                                                       #<br>##########################################################################<br><br>##########################################################################<br># putlog                                                                 #<br>##########################################################################<br> <br>putlog "Loaded ChanLimit (DLF)"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Sat Mar 12, 2005 5:40 am</p><hr />
]]></content>
	</entry>
	</feed>
