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

	<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>2004-12-04T00:51:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-12-04T00:51:44-04:00</updated>

		<published>2004-12-04T00:51:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43429#p43429</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43429#p43429"/>
		<title type="html"><![CDATA[how to stop :******* flooding?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43429#p43429"><![CDATA[
...or use "regexp -all" to do the counting<div class="codebox"><p>Code: </p><pre><code>if {[string len $a]&lt;21} {# too short..no point checking any furtherreturn 0} elseif {[regexp -all ! $a]&gt;20} {} elseif {[regexp -all \\* $a]&gt;20} {} elseif {[regexp -all @ $a]&gt;20} {}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sat Dec 04, 2004 12:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-03T23:02:52-04:00</updated>

		<published>2004-12-03T23:02:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43422#p43422</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43422#p43422"/>
		<title type="html"><![CDATA[how to stop :******* flooding?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43422#p43422"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set r "max 20 !,@,or * allowed"bind pubm - * checkproc check {n u h c t} {  set len [string length $t]  set x 0; set y 0; set z 0  for {set i 0} {$i &lt; $len} {incr i} {    if {[string index $t $i] == "!"} {incr x    } elseif {[string index $t $i] == "@"} {incr y    } elseif {[string index $t $i] == "*"} {incr z}  }  if {$x &gt; 20 || $y || 20 || $z &gt; 20} {    newchanban $c [maskhost $n!$u] foo $::r    putserv "kick $c $n :$::r"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Dec 03, 2004 11:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tex]]></name></author>
		<updated>2004-12-02T12:33:44-04:00</updated>

		<published>2004-12-02T12:33:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43375#p43375</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43375#p43375"/>
		<title type="html"><![CDATA[how to stop :******* flooding?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43375#p43375"><![CDATA[
hello..<br>well..doe's anyone have some .tcl to stop the :*************** and :@@@@@@@@@@@ and heloo !!!!!!!!!!!!!!!!!!!!!!!!!!!!! flooding on channel?<br>so that max 20 ! , @ and * would be allowed in one line on channel..<br><br>in mirc looks like that..<br><br>on 1:TEXT:*:#testek: {<br>  /if ($count($1-,$chr(33)) &gt; 20) {<br>    /kick #testek $nick max 20 !-s allowed!!!<br>    /mode #testek +b $address($nick,3)<br>  }<br>  /if ($count($1-,$chr(42)) &gt; 20) {<br>    /kick #testek $nick max 20 *-s allowed!!!<br>    /mode #testek +b $address($nick,3)<br>  }<br>  /if ($count($1-,$chr(64)) &gt; 20) {<br>    /kick #testek $nick max 25 @-s allowed!!!<br>    /mode #testek +b $address($nick,3)<br>  }<br>}<br><br>plaese..and sry fo my bad english.. <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=2376">Tex</a> — Thu Dec 02, 2004 12:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
