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

	<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-07-21T03:37:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Gulio]]></name></author>
		<updated>2021-07-21T03:37:19-04:00</updated>

		<published>2021-07-21T03:37:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110135#p110135</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110135#p110135"/>
		<title type="html"><![CDATA[how to match detect this kind of flood]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110135#p110135"><![CDATA[
how to do it to match 2 letters and down for lines from 1 nick or multi nick host<br>text and action also when is match *.irccloud.com and *.mibbit.com to send ban on *!iden@*<br><br><div class="codebox"><p>Code: </p><pre><code>[16:31:38] &lt;guest827&gt; A[16:31:40] &lt;guest827&gt; B[16:31:42] &lt;guest827&gt; C[16:31:45] &lt;guest827&gt; Ç[16:31:47] &lt;guest827&gt; D[16:31:52] &lt;guest827&gt; DH[16:31:55] &lt;guest827&gt; E[16:31:57] &lt;guest827&gt; Ë</code></pre></div>this code is take it from Spike^^ code<div class="codebox"><p>Code: </p><pre><code>Line 44: NOTICE: Found constant "bflood" which is also a variable.utimer $bflood(unsettime) [list array unset bflood $chan:$nick]</code></pre></div><div class="codebox"><p>Code: </p><pre><code>set bflood(maxlength) 2set bflood(unsettime) 5bind pubm - * pubm:bytefloodproc pubm:byteflood {nick host hand chan text} {global bfloodif {![botisop $chan] || [isop $nick $chan]} {  return 0  }if {[validuser $hand] &amp;&amp; [matchattr $hand +bfmo|fmo $chan]} {  return 0  }set nick [string tolower $nick]set chan [string tolower $chan]set length [string length $text]set text  [lindex [split $text ":"] 0]if {[info exists bflood($chan:$nick)]} {  incr length $bflood($chan:$nick)  }if {($length &gt; $bflood(maxlength))} {foreach user $text {if {![onchan $user $chan]} {putserv "NOTICE $nick $user is not on channel $chan"} else {if {[set chost [getchanhost $nick $chan]] ne ""} {switch -glob -- $chost {{*.irccloud.com} - {*.mibbit.com} {if {[isvoice $nick $chan]} {  pushmode $chan -v $nick  }set mask *![lindex [split $chost @] 0]@*}{default} {set mask [maskhost "$user!$chost" 2]}}array unset bflood $chan:$nickreturn 0}if {![info exists bflood($chan:$nick)]} {utimer $bflood(unsettime) [list array unset bflood $chan:$nick]}set bflood($chan:$nick) $lengthreturn 0}}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12887">Gulio</a> — Wed Jul 21, 2021 3:37 am</p><hr />
]]></content>
	</entry>
	</feed>
