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

	<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-17T12:01:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-06-17T12:01:21-04:00</updated>

		<published>2005-06-17T12:01:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50944#p50944</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50944#p50944"/>
		<title type="html"><![CDATA[autolimit error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50944#p50944"><![CDATA[
there are zillions of autolimit scripts out there, do your homework<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Jun 17, 2005 12:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-06-17T11:04:34-04:00</updated>

		<published>2005-06-17T11:04:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50940#p50940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50940#p50940"/>
		<title type="html"><![CDATA[autolimit error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50940#p50940"><![CDATA[
could you maybe help me make a autolimit script with the commands: <br>!autolimit on/off<br>!autolimit #10 etc<br>!autolimit to show the autolimit status, like amount of users on chan, what the autolimit is set to e.g +10<br><br>And make it so when a user parts the channel, it checks the limit and sets a new limit if needed. Please help, thanks!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Fri Jun 17, 2005 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-06-17T10:59:19-04:00</updated>

		<published>2005-06-17T10:59:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50939#p50939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50939#p50939"/>
		<title type="html"><![CDATA[autolimit error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50939#p50939"><![CDATA[
the autolimit scrips does use "udef"<br><div class="codebox"><p>Code: </p><pre><code>setudef str "autolimit"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Fri Jun 17, 2005 10:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-06-17T10:45:26-04:00</updated>

		<published>2005-06-17T10:45:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50938#p50938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50938#p50938"/>
		<title type="html"><![CDATA[autolimit error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50938#p50938"><![CDATA[
have triied to use "udef-" as suffix for your setting like "udef-autolimit"? I dont know what you have to exactly use, but maybe it just must be defined somewhere as a udef channel value.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Jun 17, 2005 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-06-17T09:38:26-04:00</updated>

		<published>2005-06-17T09:38:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50934#p50934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50934#p50934"/>
		<title type="html"><![CDATA[autolimit error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50934#p50934"><![CDATA[
looks good, but i was looking for one which holds data for each channel. Like channel specific limits where people can type !autolimit on/off #10 or something like that. All channel specific. Thats why i used that script, but its got that error ;p can you please help me, thanks!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Fri Jun 17, 2005 9:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-06-17T06:00:20-04:00</updated>

		<published>2005-06-17T06:00:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50923#p50923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50923#p50923"/>
		<title type="html"><![CDATA[autolimit error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50923#p50923"><![CDATA[
Try this script. I have been using it for years and cant fault it.<br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?strings=smart%20limit&amp;fields=title&amp;fields=author&amp;fields=description" class="postlink">Click Me</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Jun 17, 2005 6:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-06-16T14:31:47-04:00</updated>

		<published>2005-06-16T14:31:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50885#p50885</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50885#p50885"/>
		<title type="html"><![CDATA[autolimit error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50885#p50885"><![CDATA[
im using a autolimit script by perpleXa and there is a error<br><br>The error: <br><br>&lt;[-Guard-]&gt; [19:29] Tcl error [autolimit:pub]: illegal channel option: autolimit<br>&lt;[-Guard-]&gt; illegal channel option: 15<br>&lt;[-Guard-]&gt; <br><br>The script:<br><div class="codebox"><p>Code: </p><pre><code># Auto-limit 0.52 by perpleXa.# This script is similar to Q's auto-limit feature (+c).# It must not be used in conjunction with chanmode +D (auditorium mode).# Type $autolimt in a channel for more info..bind pub  n|o !autolimit autolimit:pubbind join -|- * autolimit:joinsetudef 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:startputlog "Script loaded: auto-limit by perpleXa"</code></pre></div>Can someone please fix this, i have no clue whats wrong ;p!!<br><br>Thanks in advance!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Thu Jun 16, 2005 2:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
