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

	<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-20T13:26:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-04-20T13:25:43-04:00</updated>

		<published>2005-04-20T13:25:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48353#p48353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48353#p48353"/>
		<title type="html"><![CDATA[Flood protection script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48353#p48353"><![CDATA[
This is a flud bind, which triggers on one of the built-in eggdrop flood protection (flood-chan, flood-nick, flood-kick...). This particular script triggers on a channel flood (single nick), and that depends on your flood-chan channel setting (.chanset #channel flood-chan msg:secs).<br><br>Tips: you can remove flmask from global, and use<div class="codebox"><p>Code: </p><pre><code>set flmask *!*@[lindex [split $uhost @] 1]</code></pre></div>instead of <div class="codebox"><p>Code: </p><pre><code>set flmask *!*@[lindex [split [getchanhost $nick $chan] "@"] 1]</code></pre></div> (that's redundant, why repeat the process <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> )<br>and also replace <div class="codebox"><p>Code: </p><pre><code>utimer $fldura "putserv {MODE $chan -b $flmask}"</code></pre></div> with<div class="codebox"><p>Code: </p><pre><code>utimer $fldura [list putserv "MODE $chan -b $flmask"]</code></pre></div>fldura is the ban duration in seconds.<br><br>PS: lol De Kus, not the first time though <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Apr 20, 2005 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-20T13:26:49-04:00</updated>

		<published>2005-04-20T13:25:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48352#p48352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48352#p48352"/>
		<title type="html"><![CDATA[Flood protection script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48352#p48352"><![CDATA[
this script is rather useless.<br>it will not consider anything as flooding, it just triggers when the bot considers something as flood (like msg flood, ctcp flood, deop flood etc.) and set a channel ban which is removed on a timed event.<br>So this script simply changes the default kick to a kickban ^-^.<br><br>PS: you were too slow FZ <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Apr 20, 2005 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nucleus]]></name></author>
		<updated>2005-04-20T12:22:06-04:00</updated>

		<published>2005-04-20T12:22:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48349#p48349</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48349#p48349"/>
		<title type="html"><![CDATA[Flood protection script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48349#p48349"><![CDATA[
Can someone pls explain to me what this script does?<br><div class="codebox"><p>Code: </p><pre><code>set flkick "Flood"set fldura 600bind flud - pub flchanproc flchan {nick uhost hand type chan} {if {[isop $nick $chan] == "0"} {global flmask flkick flduraset flmask *!*@[lindex [split [getchanhost $nick $chan] "@"] 1]putserv "MODE $chan +b $flmask"putserv "KICK $chan $nick :$flkick" utimer $fldura "putserv {MODE $chan -b $flmask}"return 1}}putlog "Flood"</code></pre></div>I mean, i know it's a flood protection script, but what does it exactly do? What does it consider flooding? How many lines, how many seconds? Does it do a channel ban or does it put the ban in it's internal banlist?<br><br>I'm guessing the <div class="codebox"><p>Code: </p><pre><code>set fldura 600</code></pre></div> is the ban duration in seconds? And the <div class="codebox"><p>Code: </p><pre><code>putserv "MODE $chan +b $flmask"</code></pre></div> is a channel ban? Where's the lines/seconds value?<br><br>Thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5171">Nucleus</a> — Wed Apr 20, 2005 12:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
