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

	<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-03-16T11:53:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-03-16T11:53:07-04:00</updated>

		<published>2021-03-16T11:53:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109559#p109559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109559#p109559"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109559#p109559"><![CDATA[
I am trying to try make my own Flood Protection Script, like some others have  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>and thanks @caesar for your suggestion, will change that <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>and i haven't planned how to track things as you said yet, of course if you have any more ideas, do share  <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=12849">ComputerTech</a> — Tue Mar 16, 2021 11:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-03-16T03:39:37-04:00</updated>

		<published>2021-03-16T03:39:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109554#p109554</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109554#p109554"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109554#p109554"><![CDATA[
Why dont use the flood-chan setting ?<div class="codebox"><p>Code: </p><pre><code>.chanset #foo flood-chan 4:10</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Mar 16, 2021 3:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2021-03-16T02:45:05-04:00</updated>

		<published>2021-03-16T02:45:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109552#p109552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109552#p109552"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109552#p109552"><![CDATA[
Why bother re-inventing the wheel when you got bind <em class="text-italics">flud</em> to trigger for whatever you wanted?<br><br>Instead of:<div class="codebox"><p>Code: </p><pre><code>set lines [lindex [split $text_tolerance :] 0]set seconds [lindex [split $text_tolerance :] 1]</code></pre></div>I would go with:<div class="codebox"><p>Code: </p><pre><code>scan [split $text_tolerance :] {%d%d} lines seconds</code></pre></div>There are a couple of other things I would change, like instead of relying on two separate arrays would use just one and have all the info in there. Do you track and update nick changes, parts, quits and so on?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 16, 2021 2:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-03-16T00:04:55-04:00</updated>

		<published>2021-03-16T00:04:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109551#p109551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109551#p109551"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109551#p109551"><![CDATA[
Just thought i'd share some Code a friend of mine(Nando) made<div class="codebox"><p>Code: </p><pre><code># configure the text flood tolerance lines per secondsset text_tolerance "4:10"# end of configbind pubm - * chan_floodproc chan_flood {nick uhost hand chan text} {  global text_tolerance nick_last_message_time nick_lines nick_time  set time_now [unixtime]  set lines [lindex [split $text_tolerance :] 0]  set seconds [lindex [split $text_tolerance :] 1]  if {[info exists nick_last_message_time($nick:$chan)]} {    if {[expr ($time_now - $nick_last_message_time($nick:$chan))] &gt; $seconds} {      set nick_lines($nick:$chan) 0    }  }  incr nick_lines($nick:$chan)  if {$nick_lines($nick:$chan) == 1} {    set nick_time($nick:$chan) [unixtime]  }  if {($nick_lines($nick:$chan) &gt; $lines) &amp;&amp; ([expr ($time_now - $nick_time($nick:$chan))] &lt;= $seconds)} {    putserv "PRIVMSG $chan :kick $nick flood"    unset nick_lines($nick:$chan)  }  set nick_last_message_time($nick:$chan) [unixtime]}</code></pre></div> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Tue Mar 16, 2021 12:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-08-19T18:39:03-04:00</updated>

		<published>2020-08-19T18:39:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108887#p108887</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108887#p108887"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108887#p108887"><![CDATA[
Thanks Simo  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Wed Aug 19, 2020 6:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2020-06-29T09:04:21-04:00</updated>

		<published>2020-06-29T09:04:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108660#p108660</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108660#p108660"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108660#p108660"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind flud - pub flud:banproc flud:ban { n u h t c } {  pushmode $c +b *!$u  putkick $c $n "text_flood"}</code></pre></div>took this from:<br><blockquote class="uncited"><div><a href="http://forum.egghelp.org/viewtopic.php?t=15217&amp;highlight=flood" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ight=flood</a></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon Jun 29, 2020 9:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-06-29T09:03:30-04:00</updated>

		<published>2020-06-29T09:03:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108659#p108659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108659#p108659"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108659#p108659"><![CDATA[
Cheers willyw, will check that out right away  <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=12849">ComputerTech</a> — Mon Jun 29, 2020 9:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-06-29T08:31:49-04:00</updated>

		<published>2020-06-29T08:31:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108658#p108658</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108658#p108658"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108658#p108658"><![CDATA[
If you are writing it yourself, you might like to have a look at:<br><a href="https://docs.eggheads.org/mainDocs/tcl-commands.html" class="postlink">https://docs.eggheads.org/mainDocs/tcl-commands.html</a><br>and find:<br>bind flud<br><br>Read the description carefully.<br><br><br>Perhaps you can use that and come up with something that is exactly what you want.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Jun 29, 2020 8:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-06-29T08:25:53-04:00</updated>

		<published>2020-06-29T08:25:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108657#p108657</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108657#p108657"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108657#p108657"><![CDATA[
Umm hehe thanks but i kind of already know that, was asking for a small Piece of code rather, i'll try the archive again  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Mon Jun 29, 2020 8:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carlin0]]></name></author>
		<updated>2020-06-29T04:37:48-04:00</updated>

		<published>2020-06-29T04:37:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108656#p108656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108656#p108656"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108656#p108656"><![CDATA[
In partyline type<div class="codebox"><p>Code: </p><pre><code>.help chaninfo</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12778">Carlin0</a> — Mon Jun 29, 2020 4:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-06-28T23:49:20-04:00</updated>

		<published>2020-06-28T23:49:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108655#p108655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108655#p108655"/>
		<title type="html"><![CDATA[Very Simplistic Flood Kick Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108655#p108655"><![CDATA[
So looking for a very simple flood kick script to add to my script<br><br>searched through the archive, none that i want  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>so if someone could make one for me, well that would be brilliant<br><br>and of course i'll add their nick to the script credits   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"> <br><br>cheers to all in advanced<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Sun Jun 28, 2020 11:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
