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

	<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>2021-05-26T11:41:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-05-26T11:41:02-04:00</updated>

		<published>2021-05-26T11:41:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109926#p109926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109926#p109926"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109926#p109926"><![CDATA[
excellent that seems to work in all conditions thanks caesar<br><br>i also tested the one for removal and that seems to work as well <br><br>much apreciated caesar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed May 26, 2021 11:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2021-05-26T10:26:56-04:00</updated>

		<published>2021-05-26T10:26:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109925#p109925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109925#p109925"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109925#p109925"><![CDATA[
Right, let's give <em class="text-italics">matchaddr</em> a try then by replacing:<div class="codebox"><p>Code: </p><pre><code>if {![string match -nocase $ban $n![getchanhost $n $c]]} continue</code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>if {![matchaddr $ban $n![getchanhost $n $c]]} continue</code></pre></div>See if this works and reply back.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed May 26, 2021 10:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-05-26T09:58:12-04:00</updated>

		<published>2021-05-26T09:58:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109924#p109924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109924#p109924"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109924#p109924"><![CDATA[
thanks for the reply caesar i changed what u suggested but now when trying  to<br>ban like:<br><br>15:56:09  &amp;ChanServ  Sets Mode on  #shqiperia  to:  +b *[*!*@* <br>15:56:09  (1 User) is Banned  [dsqw]ccno <br><br>wich should have kicked out  [dsqw]ccno<br>but it didnt trigger and no errors<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed May 26, 2021 9:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2021-05-26T02:18:24-04:00</updated>

		<published>2021-05-26T02:18:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109923#p109923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109923#p109923"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109923#p109923"><![CDATA[
Ah, there's a space between - and $enforce(max), just remove it in:<div class="codebox"><p>Code: </p><pre><code>incr len - $enforce(max)</code></pre></div>like:<div class="codebox"><p>Code: </p><pre><code>incr len -$enforce(max)</code></pre></div>As for this:<blockquote class="uncited"><div>looks to be working good caesar  <br> is it possible to have it also remove ban on all channels if a ban is removed</div></blockquote>Add this in the namespace of the other code:<div class="codebox"><p>Code: </p><pre><code>bind mode - "% -b" [namespace current]::banRemovalproc banRemoval {nick uhost hand chan mc ban} {foreach ch [channels] {if {![botisop $ch]} continueif {[ischanban $ban $ch]} {pushmode $ch -b $ban}}}</code></pre></div>Haven't tested so let me know if works (or doesn't) as intended.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed May 26, 2021 2:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2021-05-25T12:47:05-04:00</updated>

		<published>2021-05-25T12:47:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109921#p109921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109921#p109921"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109921#p109921"><![CDATA[
i tested your script again ceasar when setting bans on weird chars of nicks and that gave me an error:<br><br>&amp;ChanServ  Sets Mode on  #shqiperia  to:  +b *[*!*@* <br>18:44:37  (1 User) is Banned  [hjsdd] <br><br>wich should have kicked [hjsdd] <br><br>but instead returned error: Tcl error [::enforceBans::enforce]: wrong # args: should be "incr varName ?increment?"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue May 25, 2021 12:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-06-18T16:45:32-04:00</updated>

		<published>2016-06-18T16:45:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105190#p105190</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105190#p105190"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105190#p105190"><![CDATA[
i dont know how too i tried few things  but didnt work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jun 18, 2016 4:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2016-06-17T22:37:19-04:00</updated>

		<published>2016-06-17T22:37:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105187#p105187</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105187#p105187"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105187#p105187"><![CDATA[
<blockquote class="uncited"><div>looks to be working good caesar  <br> is it possible to have it also remove ban on all channels if a ban is removed</div></blockquote>You'd have to<div class="codebox"><p>Code: </p><pre><code>bind mode - "% -b" [namespace current]::banRemoval</code></pre></div>and track either only the bans the bot placed, or all of the bans on each channel. It would require building another proc (named banRemoval) to do the opposite of what the enforce procedure does.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Fri Jun 17, 2016 10:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-06-17T11:10:51-04:00</updated>

		<published>2016-06-17T11:10:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105186#p105186</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105186#p105186"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105186#p105186"><![CDATA[
looks to be working good caesar  <br> is it possible to have it also remove ban on all channels if a ban is removed<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Jun 17, 2016 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2021-05-26T02:23:09-04:00</updated>

		<published>2016-06-17T10:08:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105185#p105185</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105185#p105185"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105185#p105185"><![CDATA[
So now you want the bot to "copy" all bans on all the channels the bot is a channel operator, and top of that enforce the kicking of any members that would match the new banned mask?<br><br>If yes then try this and let me know how things work, cos I haven't tested anything this time.<div class="codebox"><p>Code: </p><pre><code>namespace eval enforceBans {# How many members can be kicked in the same lineset enforce(max) "6"# Define the reason. Notice the %ban that will be replaced with the actual mask.# You can use %who as well and will also be replaced with the actual nick of the user who set the ban.set enforce(reason) "Ban %ban set in %from matches your host. You are banned!"bind mode - "% +b" [namespace current]::enforceproc enforce {nick uhost hand chan mc ban} {variable enforceset reason [string map [list "%from" $chan "%ban" $ban "%who" $nick] $enforce(reason)]foreach c [channels] {if {![botisop $c]} continueif {![string equal -nocase $c $chan]} {set match 0foreach b [chanbans $c] {if {![string match -nocase $b $ban]} continueincr matchbreak}if {!$match} {pushmode $c +b $ban}}foreach n [lreplace [chanlist $c] 0 0] {if {![string match -nocase $ban $n![getchanhost $n $c]]} continueif {[isop $n $c] || [ishalfop $n $c] || [matchattr [nick2hand $n] "fnmo|fnmo" $c]} continuelappend kickList($c) $n}if {[info exists kickList($c)]} {set len [llength $kickList($c)]while {$len &gt; 0} {if {$len &gt; $enforce(max)} {set users [join [lrange $kickList($c) 0 [expr {$enforce(max) - 1}]] ,]set kickList($c) [lrange $kickList($c) $enforce(max) end]incr len -$enforce(max)} else {set users [join $kickList($c) ,]set len 0}putkick $c $users $reason}}}}}</code></pre></div>Just remember you had a little issue with banlist (discussion in <a href="http://forum.egghelp.org/viewtopic.php?p=103911" class="postlink">here</a>) and will adopt a similar solution to SpiKe's if will be the case.<br><br>While given the requested change we could use a faster queue than <em class="text-italics">pushmode</em>, I would honestly stick with it cos this function will be called for instance 6 times if 6 bans have been set in one line. This way the chances are it will also push all the 6 modes in a single line in other channels. Worth a test anyway. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Edit: 1st bug fix (<a href="http://forum.egghelp.org/viewtopic.php?p=109921#109921" class="postlink">link</a>).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jun 17, 2016 10:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-06-17T09:15:37-04:00</updated>

		<published>2016-06-17T09:15:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105184#p105184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105184#p105184"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105184#p105184"><![CDATA[
I tried your version caesar it works fine if user is in common channels as eggbot.  Is it possible to set ban anyway on all channels bot sits in even if banned nick isnt there to prevent him from joining and continuing the abuse<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Jun 17, 2016 9:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-06-17T01:32:50-04:00</updated>

		<published>2016-06-17T01:32:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105183#p105183</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105183#p105183"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105183#p105183"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>% set elements [list 1 2 3 4 5]1 2 3 4 5% foreach ele $elements { if {$ele == 3} { return } else { puts $ele } }12% foreach ele $elements { if {$ele == 3} { continue } else { puts $ele } }1245</code></pre></div>Notice the difference in using <em class="text-italics">return</em> and <em class="text-italics">continue</em>?<br><br>You are aware that the &amp;&amp; in:<div class="codebox"><p>Code: </p><pre><code>if {![botisop $c] &amp;&amp; [isbotnick $n] &amp;&amp; [isop $n $c] &amp;&amp; [ishalfop $n $c] &amp;&amp; [matchattr [nick2hand $n] $accessFlags $c]} {return} </code></pre></div>means if bot is channel operator in channel AND bot is the nick AND nick is channel operator AND nick is halfop AND nick's user matches the global|channel flags you said THEN <em class="text-italics">return</em>. You should use || that means OR not &amp;&amp; that means AND. For example:<div class="codebox"><p>Code: </p><pre><code>% foreach ele $elements { if {$ele == 3 &amp;&amp; $ele == 5} { continue } else { puts $ele } }12345% foreach ele $elements { if {$ele == 3 || $ele == 5} { continue } else { puts $ele } }124</code></pre></div>Notice the difference? he wants to exclude ANY of the matching cases, not the case that would match ALL of the tests.<br><br>Here's my take on this. Did some limited testing and works fine. I used putkick as it puts multiple names in the same line thus doesn't flood the server with multiple requests to kick a single member per line.<div class="codebox"><p>Code: </p><pre><code>namespace eval enforceBans {# How many members can be kicked in the same lineset enforce(max) "6"# Define the reason. Notice the %ban that will be replaced with the actual mask.# You can use %nick as well and will also be replaced with the actual name of the user who set the ban.set enforce(reason) "Ban %ban set in %chan matches your host. You are banned!"bind mode - "% +b" [namespace current]::enforceproc enforce {nick uhost hand chan mc ban} {variable enforceforeach c [channels] {if {![botisop $c]} continueforeach n [lreplace [chanlist $c] 0 0] {if {![string match -nocase $ban $n![getchanhost $n $c]]} continueif {[isop $n $c] || [ishalfop $n $c] || [matchattr [nick2hand $n] "fnmo|fnmo" $c]} continuelappend kickList($c) $n}}foreach c [array names kickList] {set len [llength $kickList($c)]if {![string equal -nocase $c $chan]} {pushmode $c +b $ban}while {$len &gt; 0} {if {$len &gt; $enforce(max)} {set users [join [lrange $kickList($c) 0 [expr {$enforce(max) - 1}]] ,]set kickList($c) [lrange $kickList($c) $enforce(max) end]incr len - $enforce(max)} else {set users [join $kickList($c) ,]set len 0}set reason [string map [list "%chan" $chan "%ban" $ban "%nick" $nick] $enforce(reason)]putkick $c $users $reason}}}}</code></pre></div>When setting X bans on the same line the bot will trigger a <em class="text-italics">bind mode - "% +b"</em> proc X times for each ban mask, but will trigger a <em class="text-italics">mode - "% -b"</em> proc only once per 6 bans (or whatever is the max amount of bans per line the server you are connected allows) when removing bans. Honestly I fail to understand the logic behind this difference.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jun 17, 2016 1:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2016-06-16T21:40:59-04:00</updated>

		<published>2016-06-16T21:40:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105182#p105182</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105182#p105182"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105182#p105182"><![CDATA[
<blockquote class="uncited"><div>Instead of <em class="text-italics">{return}</em> should be <em class="text-italics">continue</em><br><br>What's the point to iterate all channels and kick the user matching the ban mask, when the ban was placed just on a single channel? You know the user can return on the channel he/she was kicked but not banned, right?<br><br>Also, you know about the <em class="text-italics"><a href="http://www.egghelp.org/commands/channels.htm#chaninfo" class="postlink">enforcebans</a></em> channel setting that is doing exactly what you wanted (kick people who match channel bans)?</div></blockquote>I always use return, just out of habit and the way I code.<br><br>As for enforcebans, which a lot of the core is ok, some is not, so for things like this I try to override the core calls. For example, using bind flud to process flood-chan and other specific events (like this <a href="https://github.com/ist0k/eggdrop-TCL/blob/master/textflood.tcl" class="postlink">script</a> here). Easier to manage and modify as wanted.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Thu Jun 16, 2016 9:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2016-06-20T07:24:57-04:00</updated>

		<published>2016-06-16T21:38:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105181#p105181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105181#p105181"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105181#p105181"><![CDATA[
Sure. I didn't know that's what you wanted. There are two ways to approach this, adding a server ban (so your @ and non-bot Ops can remove the ban), or an internal ban (which has to be manually removed from the bot). <br>For the internal ban, read the ~/eggdrop/doc/tcl-commands.doc form on newchanban or newban. For this example, I'll be using the server side ban.<br><div class="codebox"><p>Code: </p><pre><code># In your code you can: set banmask [make:banmask $uhost $nick]# and then use the ...: putquick "MODE $chan +b $banmask"# BAN Types are given below;# 1 - *!*@some.domain.com # 2 - *!*@*.domain.com# 3 - *!*ident@some.domain.com# 4 - *!*ident@*.domain.com# 5 - *!*ident*@some.domain.com# 6 - *nick*!*@*.domain.com# 7 - *nick*!*@some.domain.com# 8 - nick!ident@some.domain.com# 9 - nick!ident@*.host.comset bantype 1# Set the access flags needed to be exemptset accessFlags fnmo|fnmo## Code Base ##bind mode - "* +b" enforcebansproc enforcebans {nick uhost hand chan mc ban} { global accessFlags foreach n [chanlist $chan] {  foreach c [channels] {   if {[string match -nocase $ban $n![getchanhost $n $c]]} {    if {![botisop $c] || [isbotnick $n] || [isop $n $c] || [ishalfop $n $c] || [matchattr [nick2hand $n] $accessFlags $c]} {return}    set banmask [make:banmask $uhost $nick]    putquick "MODE $c +b $banmask"    putquick "KICK $c $n :Ban $ban matches: $n (You Are Banned)"   }  } }}proc make:banmask {uhost nick} { global bantype  switch -- $bantype {   1 { set banmask "*!*@[lindex [split $uhost @] 1]" }   2 { set banmask "*!*@[lindex [split [maskhost $uhost] "@"] 1]" }   3 { set banmask "*!*$uhost" }   4 { set banmask "*!*[lindex [split [maskhost $uhost] "!"] 1]" }   5 { set banmask "*!*[lindex [split $uhost "@"] 0]*@[lindex [split $uhost "@"] 1]" }   6 { set banmask "*$nick*!*@[lindex [split [maskhost $uhost] "@"] 1]" }   7 { set banmask "*$nick*!*@[lindex [split $uhost "@"] 1]" }   8 { set banmask "$nick![lindex [split $uhost "@"] 0]@[lindex [split $uhost @] 1]" }   9 { set banmask "$nick![lindex [split $uhost "@"] 0]@[lindex [split [maskhost $uhost] "@"] 1]" }   default { set banmask "*!*@[lindex [split $uhost @] 1]" }   return $banmask  }}</code></pre></div><strong class="text-strong">Note</strong>: Code edited to reflect what caesar explained.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Thu Jun 16, 2016 9:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-06-16T10:45:11-04:00</updated>

		<published>2016-06-16T10:45:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105180#p105180</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105180#p105180"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105180#p105180"><![CDATA[
would it possible to also have it set ban  on all channels bot is sitting in as well  Get_A_Fix ?<br><div class="codebox"><p>Code: </p><pre><code>bind mode - "* +b" enforcebansset accessFlags fnmo|fnmoproc enforcebans {nick uhost hand chan mc ban} { global accessFlags foreach n [chanlist $chan] {  foreach c [channels] {   if {[string match -nocase $ban $n![getchanhost $n $c]]} {    if {![botisop $c] &amp;&amp; [isbotnick $n] &amp;&amp; [isop $n $c] &amp;&amp; [ishalfop $n $c] &amp;&amp; [matchattr [nick2hand $n] $accessFlags $c]} {return}    putquick "KICK $c $n :Ban $ban matches: $n (You Are Banned)"   }  } }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Jun 16, 2016 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-06-16T00:52:50-04:00</updated>

		<published>2016-06-16T00:52:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105178#p105178</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105178#p105178"/>
		<title type="html"><![CDATA[enforce bans / kicks on all common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105178#p105178"><![CDATA[
Instead of <em class="text-italics">{return}</em> should be <em class="text-italics">continue</em><br><br>What's the point to iterate all channels and kick the user matching the ban mask, when the ban was placed just on a single channel? You know the user can return on the channel he/she was kicked but not banned, right?<br><br>Also, you know about the <em class="text-italics"><a href="http://www.egghelp.org/commands/channels.htm#chaninfo" class="postlink">enforcebans</a></em> channel setting that is doing exactly what you wanted (kick people who match channel bans)?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Jun 16, 2016 12:52 am</p><hr />
]]></content>
	</entry>
	</feed>
