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

	<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>2026-02-24T18:56:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[flexboy]]></name></author>
		<updated>2007-02-12T21:41:30-04:00</updated>

		<published>2007-02-12T21:41:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70416#p70416</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70416#p70416"/>
		<title type="html"><![CDATA[enforcebans help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70416#p70416"><![CDATA[
...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8677">flexboy</a> — Mon Feb 12, 2007 9:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-02-12T16:07:52-04:00</updated>

		<published>2007-02-12T16:07:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70412#p70412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70412#p70412"/>
		<title type="html"><![CDATA[enforcebans help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70412#p70412"><![CDATA[
<blockquote class="uncited"><div>not alot of IRCd's actually support kicking 3 people at the same time (I think)</div></blockquote>"putkick" and the conf variable "kick-method" exists for a reason - so you don't need to care about that in your scripts <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>And I think even fewer ircds have case sensitive bans...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Feb 12, 2007 4:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2007-02-12T13:28:24-04:00</updated>

		<published>2007-02-12T13:28:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70410#p70410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70410#p70410"/>
		<title type="html"><![CDATA[enforcebans help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70410#p70410"><![CDATA[
Did you try to "enhance" the script by adding random crap?<br>My original version was different, and not alot of IRCd's actually support kicking 3 people at the same time (I think)<br><div class="codebox"><p>Code: </p><pre><code>setudef flag enforcebansset enforce(max)       8;set enforce(reasons)   [list \                       "Some kick message" \                       "Another one!" \                       "And yet another one!" \                       ]bind mode - "* +b" enforcebanproc enforceban {nick uhost hand chan mc ban} {  global enforce  if {[channel get $channel enforcebans] &amp;&amp; [botisop $chan]} {    set banmask [string map {"\\" "\\\\" "\[" "\\["} $ban]    set reason [lindex $enforce(reasons) [rand [llength $enforce(reasons)]]]    set list [list]    foreach user [chanlist $chan] {      if {[isbotnick $user] || [matchattr [nick2hand $user] f|f $chan]} {        continue      } elseif {[string match -nocase $banmask $user![getchanhost $user $chan]]} {        lappend list $user      }    }    if {[llength $list] &gt; $enforce(max)} {      putserv "MODE $chan -ob $nick $ban"    } else {      foreach user $list {        putserv "KICK $chan $user :$reason"      }    }  }} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Feb 12, 2007 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-02-12T09:49:33-04:00</updated>

		<published>2007-02-12T09:49:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70404#p70404</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70404#p70404"/>
		<title type="html"><![CDATA[Re: enforcebans help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70404#p70404"><![CDATA[
<blockquote class="uncited"><div>Can some one help me with this it only kicks one user...</div></blockquote>It should give you an error (and kick NO users) - apply proper indentation and you'll see where your error is (the foreach)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Feb 12, 2007 9:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[flexboy]]></name></author>
		<updated>2026-02-24T18:56:01-04:00</updated>

		<published>2007-02-12T08:56:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70401#p70401</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70401#p70401"/>
		<title type="html"><![CDATA[enforcebans help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70401#p70401"><![CDATA[
...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8677">flexboy</a> — Mon Feb 12, 2007 8:56 am</p><hr />
]]></content>
	</entry>
	</feed>
