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

	<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>2004-07-05T02:17:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-05T02:17:49-04:00</updated>

		<published>2004-07-05T02:17:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38209#p38209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38209#p38209"/>
		<title type="html"><![CDATA[request for a little chanlimit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38209#p38209"><![CDATA[
yep itis big  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> , i will try it , thanks for it  <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 Guest — Mon Jul 05, 2004 2:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-03T09:26:48-04:00</updated>

		<published>2004-07-03T09:26:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38163#p38163</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38163#p38163"/>
		<title type="html"><![CDATA[request for a little chanlimit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38163#p38163"><![CDATA[
wow, thats the biggest chanliimit script i've ever seen  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Jul 03, 2004 9:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-07-03T03:53:25-04:00</updated>

		<published>2004-07-03T03:53:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38154#p38154</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38154#p38154"/>
		<title type="html"><![CDATA[request for a little chanlimit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38154#p38154"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n|m "autolimit" autolimit:pub bind join -|- * autolimit:join setudef str "autolimit" proc autolimit:start {} { foreach channel [channels] { if {[channel get $channel "autolimit"] == ""} { channel set $channel "autolimit" "0" } } utimer 60 autolimit } proc autolimit:join {nickname hostname handle channel} { if {![isbotnick $nickname]} { return 0 } if {[channel get $channel "autolimit"] == ""} { channel set $channel "autolimit" "0" } } proc autolimit:pub {nickname hostname handle channel arguments} { global lastbind set argumentc [llength [split $arguments { }]] set option [lindex $arguments 0] set users [llength [chanlist $channel]] if {$argumentc &lt; 1} { set currentlimit [channel get $channel "autolimit"] if {$currentlimit &gt; 0} { putserv "NOTICE $nickname :Current auto-limit is: [channel get $channel "autolimit"]" } else { putserv "NOTICE $nickname :Argument should start with a '#' and a digit. (eg. #10 or on|off)" } return } if {([regexp -nocase -- {(#[0-9]+|off|on)} $option tmp result]) &amp;&amp; (![regexp -nocase -- {\S#} $option])} { switch $result { on { channel set $channel "autolimit" "10" putserv "MODE $channel +l [expr $users + 10]" puthelp "NOTICE $nickname :Auto-limit is changed to: +10" } off { channel set $channel "autolimit" "0" putserv "MODE $channel -l *" puthelp "NOTICE $nickname :Done. Auto-limit disabled successfully." } default { if {([regexp {#[0-9]} $result]) &amp;&amp; ([string index $result 0] == "#")} { regexp {#([0-9]+)} $result tmp result if {($result &lt; 2)} { set result 2 } elseif {($result &gt; 500)} { set result 500 } channel set $channel "autolimit" "$result" putserv "MODE $channel +l [expr $users + $result]" puthelp "NOTICE $nickname :Auto-limit is changed to: $result" } } } } else { puthelp "NOTICE $nickname :Argument should start with a '#' and a digit. (eg. #10 or on|off)" } } proc autolimit {} { if {![string match *autolimit* [utimers]]} { utimer 60 autolimit } foreach channel [channels] { set autolimit [channel get $channel "autolimit"] if {(![botisop $channel]) || ($autolimit == "0")} { continue } set users [llength [chanlist $channel]] set newlimit [expr $users + $autolimit] set chanmodes [getchanmode $channel] if {[string match *l* [lindex $chanmodes 0]]} { regexp {\S[\s]([0-9]+)} $chanmodes tmp currentlimit } else { set currentlimit 0 } if {$newlimit == $currentlimit} {continue} if {$newlimit &gt; $currentlimit} { set difference [expr $newlimit - $currentlimit] } elseif {$newlimit &lt; $currentlimit} { set difference [expr $currentlimit - $newlimit] } if {($difference &lt;= [expr round($autolimit * 0.5)]) &amp;&amp; ($autolimit &gt; 5)} { continue } elseif {($difference &lt; [expr round($autolimit * 0.38)]) &amp;&amp; ($autolimit &lt;= 5)} { continue } putserv "mode $channel +l $newlimit" } } autolimit:start </code></pre></div>Set the limit with autolimit #*how many* on and turn it off with autolimit off<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sat Jul 03, 2004 3:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-07-02T19:02:21-04:00</updated>

		<published>2004-07-02T19:02:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38145#p38145</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38145#p38145"/>
		<title type="html"><![CDATA[request for a little chanlimit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38145#p38145"><![CDATA[
there is a verry simple channe limiting script in there look again i am sur its in there no commands , .. the bot will set the limit to the number of users +&lt;something&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Fri Jul 02, 2004 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-02T03:17:35-04:00</updated>

		<published>2004-07-02T03:17:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38126#p38126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38126#p38126"/>
		<title type="html"><![CDATA[request for a little chanlimit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38126#p38126"><![CDATA[
i look into the tcl archive but i want something simple with onli these 2 set commands<br><br>thanks<p>Statistics: Posted by Guest — Fri Jul 02, 2004 3:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-07-01T13:07:09-04:00</updated>

		<published>2004-07-01T13:07:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38106#p38106</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38106#p38106"/>
		<title type="html"><![CDATA[request for a little chanlimit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38106#p38106"><![CDATA[
Take a look at the Tcl archive on this site, thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Thu Jul 01, 2004 1:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-01T08:55:27-04:00</updated>

		<published>2004-07-01T08:55:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38094#p38094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38094#p38094"/>
		<title type="html"><![CDATA[request for a little chanlimit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38094#p38094"><![CDATA[
i need a litle script for chanlimit who work on every channels but i need a simple one<br><br>something like this<br><br>so i can use .chanset #chan +nolimit if i want a channel without no limit<br><br>set pluslimit "number"<br><br>set timer "number(in seconds)"<br><br>then the procedure<br><br>......<br><br>that it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>thank you<p>Statistics: Posted by Guest — Thu Jul 01, 2004 8:55 am</p><hr />
]]></content>
	</entry>
	</feed>
