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

	<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>2025-04-30T00:00:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2025-04-29T23:59:08-04:00</updated>

		<published>2025-04-29T23:59:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113305#p113305</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113305#p113305"/>
		<title type="html"><![CDATA[Re: automatic ban cleaner]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113305#p113305"><![CDATA[
thanks simo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Tue Apr 29, 2025 11:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2025-04-29T16:52:07-04:00</updated>

		<published>2025-04-29T16:52:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113302#p113302</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113302#p113302"/>
		<title type="html"><![CDATA[Re: automatic ban cleaner]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113302#p113302"><![CDATA[
you could try and change this line from :<br><div class="codebox"><p>Code: </p><pre><code>if {(([lsearch -exact [string tolower $banlistchans] [string tolower $chan]] != -1) || ($banlistchans == "*")) &amp;&amp; ($mode == "+b") &amp;&amp; ($numbanlist &gt;= $maxbanlist)} {</code></pre></div>to :<br><div class="codebox"><p>Code: </p><pre><code>if {(([lsearch -exact [string tolower $banlistchans] [string tolower $chan]] != -1) || ($banlistchans == "*")) &amp;&amp; ($mode == "+b") &amp;&amp; ($numbanlist == $maxbanlist)} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Apr 29, 2025 4:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2025-04-30T00:00:35-04:00</updated>

		<published>2025-04-29T01:44:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113300#p113300</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113300#p113300"/>
		<title type="html"><![CDATA[automatic ban cleaner  (with a resetter maxbanlist)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113300#p113300"><![CDATA[
writing of awyeah<br>The TCL works fine, the problem is that when the ban list is full, the message is repeated twice when sent.<br>example:<br>NOTICE @$chan :BANLIST FULL: WARNING<br>or<br>NOTICE @$chan :BANLIST FULL: WARNING<br><div class="codebox"><p>Code: </p><pre><code> ######################################## -------------------------------- ####  Channel Banlist Cleaner Script  #### -------------------------------- #########################################Set the channels you want this script activated onset banlistchans "*"# Change this variable to how many bans you dont want # your banlist to go past. Most DALnet servers dont # allow more than 100, so you should keep it around 98.set maxbanlist 85######  Don't change anything below here   ############ unless you know what you are doing! ######bind mode - "*+b*" clear:banlistproc clear:banlist {nick uhost hand chan mode arg} {  global botnick banlistchans maxbanlist   set numbanlist [llength [chanbans $chan]]  if {(([lsearch -exact [string tolower $banlistchans] [string tolower $chan]] != -1) || ($banlistchans == "*")) &amp;&amp; ($mode == "+b") &amp;&amp; ($numbanlist &gt;= $maxbanlist)} {  if (![botisop $chan]) {return 0}      putserv "NOTICE @$chan :BANLIST FULL: WARNING - $chan's banlist was detected to be *full* of nearly 100 entries, with $numbanlist bans."      putserv "NOTICE @$chan :CLEARING BANLIST: The banlist for $chan is now being *cleared* to 0 entries."      putlog "BANLIST: Clearing the banlist of $chan, as it is full."      utimer 3 "resetbans $chan"      }  return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Tue Apr 29, 2025 1:44 am</p><hr />
]]></content>
	</entry>
	</feed>
