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

	<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>2002-01-04T05:06:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-04T05:06:00-04:00</updated>

		<published>2002-01-04T05:06:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3445#p3445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3445#p3445"/>
		<title type="html"><![CDATA[need to  ask acouple questions about a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3445#p3445"><![CDATA[
thanks ppslim for the fast reply and the info apprecaite it alot : )<br><br>thanks again <br><br>SnOoP<p>Statistics: Posted by Guest — Fri Jan 04, 2002 5:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-01-04T00:18:00-04:00</updated>

		<published>2002-01-04T00:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3432#p3432</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3432#p3432"/>
		<title type="html"><![CDATA[need to  ask acouple questions about a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3432#p3432"><![CDATA[
Yes, flood protection is needed in most scripts.<br><br>This is to prevent some1 join, parting all the time, to make the bot flood itself off the server (making the requests for whois information).<br><br>The commented line is used to place an ignore on the user.<br><br>Bans are not allways a good thing, ignores can be used, so that the script is no longer triggered, saving your eggdrop time.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Jan 04, 2002 12:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-04T00:03:00-04:00</updated>

		<published>2002-01-04T00:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3430#p3430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3430#p3430"/>
		<title type="html"><![CDATA[need to  ask acouple questions about a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3430#p3430"><![CDATA[
i'm using badchan 1.0 by Bass of Undernet's #eggdrop (<a href="mailto:bass@tclslave.net">bass@tclslave.net</a>)and this is my question if anyone can help me i'd appreciate it alot..<br><br>heres the error it's giving well not actually a error just what it says in dcc chat<br><br>[18:03] bchan: Flood detected from pov`.<br><br>heres the flood options u can set<br><br>#same as other flood-prot setting.<br>set bc_flood 3:30<br><br>heres the code:<br><br>proc bc_flood {nick uhost} {<br>  global bc_flood_num bc_flood_time bc_flood_array<br>  if {$bc_flood_num == 0} {return 0}<br>  set i [expr $bc_flood_num - 1]<br>  while {$i &gt;= 1} {<br>    set bc_flood_array($i) $bc_flood_array([expr $i - 1])<br>    incr i -1<br>  }<br>  set bc_flood_array(0) [unixtime]<br>  if {[expr [unixtime] - $bc_flood_array([expr $bc_flood_num - 1])] &lt;= $bc_flood_time} {<br>    putlog "bchan: Flood detected from $nick."<br>    #newignore [join [maskhost *!*[string trimleft $uhost ~]]] bchan flood 2<br>    return  1<br>  } {return 0}<br>}<br><br>the question is what is htis suppose to do is it suppose to ignore the person doing it or what? i see this line is commented out so it wouldn't do anything really right?<br>this line here<br><br>#newignore [join [maskhost *!*[string trimleft $uhost ~]]] bchan flood 2<br><br>and the other question is why would u put in a flood protection in a bad channel script all it does is kick and ban someone if there in a certain room??<br><br>and will it work if i uncommented that line out? i wanna see what it'll do if i do..<br>and if u wanted protection wouldn't u make it ban the person not ignore them??<br><br>sorry for making this so long guys.. just curious why they did this?<br><br>sorry again and thanks for any help u can give me on this : )<br><br>oh 1 more thang is 1.6.8 out yet and is it final or still in testing?<p>Statistics: Posted by Guest — Fri Jan 04, 2002 12:03 am</p><hr />
]]></content>
	</entry>
	</feed>
