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

	<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>2007-01-25T15:52:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-01-24T15:54:02-04:00</updated>

		<published>2007-01-24T15:54:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69891#p69891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69891#p69891"/>
		<title type="html"><![CDATA[Repeat protection on private.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69891#p69891"><![CDATA[
Your code changes the whole concept, I've fixed the code above.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jan 24, 2007 3:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SaW]]></name></author>
		<updated>2007-01-24T13:25:39-04:00</updated>

		<published>2007-01-24T13:25:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69889#p69889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69889#p69889"/>
		<title type="html"><![CDATA[Repeat protection on private.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69889#p69889"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msgm - * repeat:spamproc repeat:spam {nick uhost hand arg} { global spamRepeat set SpamMsg $arg if {![info exists spamRepeat([set m [md5 [string tolower $arg]]])]} {  set spamRepeat($m) 0 } if {[incr spamRepeat($m)] &gt;= 3 &amp;&amp; [lsearch -exact $SpamMsg [string tolower $arg]] == -1} {  lappend SpamMsg [string tolower $arg]  putserv "SPAMFILTER add cpnNa gzline 30h advertising $arg" } utimer 20 [list sr:decr $m]}proc sr:decr m { global spamRepeat if {[info exists spamRepeat($m)]} {  incr spamRepeat($m) -1  if {$spamRepeat($m) &lt;= 0} {unset spamRepeat($m)} }}</code></pre></div>i changed code to this type. it worked, but it is working if the message length more than one word. but it must work even the message length one word.. What should i do?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8617">SaW</a> — Wed Jan 24, 2007 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SaW]]></name></author>
		<updated>2007-01-24T11:14:07-04:00</updated>

		<published>2007-01-24T11:14:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69886#p69886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69886#p69886"/>
		<title type="html"><![CDATA[Repeat protection on private.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69886#p69886"><![CDATA[
Sir_Fz <br><br>[17:08] (LlranGe): [10:08] Tcl error [repeat:spam]: can't read "spamFilter": no such variable<br><br>it was not work.<br><br>And i mean with adding to spamfilter; e.x= /spamfilter add cpnNa gzline - Advertising spam mesaj<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8617">SaW</a> — Wed Jan 24, 2007 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-01-25T15:52:02-04:00</updated>

		<published>2007-01-23T18:04:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69863#p69863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69863#p69863"/>
		<title type="html"><![CDATA[Repeat protection on private.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69863#p69863"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msgm - * repeat:spamset spamFilter [list]proc repeat:spam {nick uhost hand arg} { global spamRepeat spamFilter if {![info exists spamRepeat([set m [md5 [string tolower $arg]]])]} {  set spamRepeat($m) 0 } if {[incr spamRepeat($m)] &gt;= 3 &amp;&amp; [lsearch -exact $spamFilter [string tolower $arg]] == -1} {  lappend spamFilter [string tolower $arg] } utimer 20 [list sr:decr $m]}proc sr:decr m { global spamRepeat if {[info exists spamRepeat($m)]} {  incr spamRepeat($m) -1  if {$spamRepeat($m) &lt;= 0} {unset spamRepeat($m)} }}</code></pre></div>$spamFilter is the list of added lines.<br><br>Edit: Fixed error.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jan 23, 2007 6:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SaW]]></name></author>
		<updated>2007-01-23T17:42:53-04:00</updated>

		<published>2007-01-23T17:42:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69861#p69861</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69861#p69861"/>
		<title type="html"><![CDATA[Repeat protection on private.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69861#p69861"><![CDATA[
if the same message delivers to bot's private in 20 seconds three times, i want bot to add the message to spamfilter. This is similar with repeat protection on channel, but  <br>the differnce between them is it doesnt matter  the message sender  <span style="text-decoration:underline">dont have to be same nick.</span><br>i worked hard but i was not able to write the code.. <br>Could you please help me?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8617">SaW</a> — Tue Jan 23, 2007 5:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
