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

	<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>2001-10-17T21:37:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-10-17T21:37:00-04:00</updated>

		<published>2001-10-17T21:37:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=779#p779</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=779#p779"/>
		<title type="html"><![CDATA[clearing ban list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=779#p779"><![CDATA[
Who knows, put some debugging statements in your proc to see what's going on. Maybe it's a config problem.<br><br>Put stuff like this in:<br>putlog "there are $numbanlist bans"<br><br>inside your if test<br>putlog "inside if"<br><br>in your else<br>putlog "in else instead"<br><br>in your loop<br>putlog "removing ban [lindex $bans $i]"<br><br>etc...<br>then you can see what's going wrong<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Oct 17, 2001 9:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-17T17:06:00-04:00</updated>

		<published>2001-10-17T17:06:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=771#p771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=771#p771"/>
		<title type="html"><![CDATA[clearing ban list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=771#p771"><![CDATA[
I have made a code like this,<br>but why it doesnt work <br><br>set maxbans 100<br>bind mode - "*+b*" auto_unban<br>proc auto_unban {nick uhost hand chan mode victim} {<br>    global botnick maxbans banfull<br>    set numbanlist [llength [banlist $chan]]<br>    if { $numbanlist &gt;= $maxbans &amp;&amp; [botisop $chan]} {<br>         set bans [banlist $chan]<br>         for {set i 0} {$i &lt; 10} {incr i} {<br>              killchanban $chan [lindex $bans $i]<br>         }<br>   }<br>}<br>return 1<br>putlog "bansfull.tcl"<br><br><p>Statistics: Posted by Guest — Wed Oct 17, 2001 5:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-10-17T07:35:00-04:00</updated>

		<published>2001-10-17T07:35:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=738#p738</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=738#p738"/>
		<title type="html"><![CDATA[clearing ban list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=738#p738"><![CDATA[
To get the banlist:<br>set bans [banlist #channel]<br><br>To unset a ban:<br>killchanban #channel &lt;ban&gt;<br><br>To unset the first 10 bans:<br>set bans [banlist #channel]<br>for {set i 0} {$i &lt; 10} {incr i} {<br>  killchanban #channel [lindex $bans $i]<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Oct 17, 2001 7:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-16T10:47:00-04:00</updated>

		<published>2001-10-16T10:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=663#p663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=663#p663"/>
		<title type="html"><![CDATA[clearing ban list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=663#p663"><![CDATA[
anyone can help me coding the tcl script to clearing banlist. 10 old banlist will be removed if banlist reach 100 (full)<p>Statistics: Posted by Guest — Tue Oct 16, 2001 10:47 am</p><hr />
]]></content>
	</entry>
	</feed>
