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

	<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-04-18T09:05:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Nucleus]]></name></author>
		<updated>2005-04-18T09:05:34-04:00</updated>

		<published>2005-04-18T09:05:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48254#p48254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48254#p48254"/>
		<title type="html"><![CDATA[Fast kicking, slow banning]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48254#p48254"><![CDATA[
umm....how did i end up with only 5 posts?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5171">Nucleus</a> — Mon Apr 18, 2005 9:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nucleus]]></name></author>
		<updated>2005-04-18T09:04:34-04:00</updated>

		<published>2005-04-18T09:04:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48253#p48253</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48253#p48253"/>
		<title type="html"><![CDATA[Fast kicking, slow banning]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48253#p48253"><![CDATA[
awyeah<br><br>I have to say, that actually made a very big difference in the speed.<br>Thank you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5171">Nucleus</a> — Mon Apr 18, 2005 9:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-04-18T08:26:17-04:00</updated>

		<published>2005-04-18T08:26:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48252#p48252</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48252#p48252"/>
		<title type="html"><![CDATA[Fast kicking, slow banning]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48252#p48252"><![CDATA[
To make it a bit faster use this:<br><br>Replace:<br><div class="codebox"><p>Code: </p><pre><code>set banmask "*!*[string trimleft [maskhost [getchanhost $nick $channel]] *!]"set targmask "*!*[string trimleft $banmask *!]"set ban $targmaskpushmode $channel +b $banputhelp "KICK $channel $nick :Inviting"</code></pre></div>with this:<br><div class="codebox"><p>Code: </p><pre><code>putquick "MODE $channel +b *!*[string trimleft [maskhost [getchanhost $nick $channel]] *!]" -nextputquick "KICK $channel $nick :Inviting" -next</code></pre></div><br>Also combine all this into one:<br><div class="codebox"><p>Code: </p><pre><code>if {![isop $botnick $channel]} {return 0}if {[isop $nick $channel]} {return 0}set n2hand [nick2hand $nick $channel]if {([matchattr $n2hand m] || [matchattr $n2hand p]  || [matchattr $n2hand b] || [matchattr $n2hand n] || [matchattr $n2hand f])} {return 0}if [regexp -nocase dcc $nick] {return 0}</code></pre></div>Like this:<br><div class="codebox"><p>Code: </p><pre><code>if {![isop $botnick $channel] || [isop $nick $channel] || [matchattr [nick2hand $nick $channel] m] || [matchattr [nick2hand $nick $channel] p] || [matchattr [nick2hand $nick $channel] b] || [matchattr [nick2hand $nick $channel] n] || [matchattr [nick2hand $nick $channel] f] || [regexp -nocase "dcc" $nick]} {return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Apr 18, 2005 8:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-18T08:02:42-04:00</updated>

		<published>2005-04-18T08:02:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48250#p48250</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48250#p48250"/>
		<title type="html"><![CDATA[Fast kicking, slow banning]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48250#p48250"><![CDATA[
i would rather use flushmode with pushmode than replacing it with a default RAW queue. for kicks i would suggest using putkick instead of puthelp "KICK" and even better would be using newchanban to replace both of them (of course the last one would make it more hard for regular ops to remove the ban).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon Apr 18, 2005 8:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-04-18T07:40:22-04:00</updated>

		<published>2005-04-18T07:40:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48249#p48249</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48249#p48249"/>
		<title type="html"><![CDATA[Fast kicking, slow banning]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48249#p48249"><![CDATA[
replace <div class="codebox"><p>Code: </p><pre><code>pushmode $channel +b $ban</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>puthelp "MODE $channel +b $ban</code></pre></div>you can even make it faster with putserv or putquick (read tcl-commands.doc)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Apr 18, 2005 7:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nucleus]]></name></author>
		<updated>2005-04-18T06:47:29-04:00</updated>

		<published>2005-04-18T06:47:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48248#p48248</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48248#p48248"/>
		<title type="html"><![CDATA[Fast kicking, slow banning]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48248#p48248"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - "* #*" pub_dont_inviteproc pub_dont_invite {nick host handle channel arg} {global botnickif {![isop $botnick $channel]} {return 0}if {[isop $nick $channel]} {return 0}set n2hand [nick2hand $nick $channel]if {([matchattr $n2hand m] || [matchattr $n2hand p]  || [matchattr $n2hand b] || [matchattr $n2hand n] || [matchattr $n2hand f])} {return 0}if [regexp -nocase dcc $nick] {return 0}set banmask "*!*[string trimleft [maskhost [getchanhost $nick $channel]] *!]"set targmask "*!*[string trimleft $banmask *!]"set ban $targmaskpushmode $channel +b $banputhelp "KICK $channel $nick :Inviting"return 1}putlog "=====&gt;&gt; Invite Protection Loaded"</code></pre></div>It kicks very fast, but it bans very slow.<br><br>[13:40:41] &lt;Nucleus&gt; join #test_spamming<br>[13:40:43] * You were kicked by _test1_ (Inviting)<br>[13:40:43] * Attempting to rejoin channel #test1<br>[13:40:43] * Rejoined channel #test1<br>[13:40:45] * _test1_ sets mode: +b *!*geek@*.undernet.org<br><br>How can i fix this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5171">Nucleus</a> — Mon Apr 18, 2005 6:47 am</p><hr />
]]></content>
	</entry>
	</feed>
