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

	<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>2008-07-09T06:57:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[asdd1]]></name></author>
		<updated>2008-07-09T06:57:42-04:00</updated>

		<published>2008-07-09T06:57:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83919#p83919</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83919#p83919"/>
		<title type="html"><![CDATA[Anti spam]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83919#p83919"><![CDATA[
<blockquote class="uncited"><div>It is easier to just use a different script which contains the features you need.</div></blockquote>I cant find different script <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10036">asdd1</a> — Wed Jul 09, 2008 6:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-07-09T06:51:11-04:00</updated>

		<published>2008-07-09T06:51:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83918#p83918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83918#p83918"/>
		<title type="html"><![CDATA[Anti spam]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83918#p83918"><![CDATA[
It is easier to just use a different script which contains the features you need.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jul 09, 2008 6:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[asdd1]]></name></author>
		<updated>2008-07-09T06:11:50-04:00</updated>

		<published>2008-07-09T06:11:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83917#p83917</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83917#p83917"/>
		<title type="html"><![CDATA[Anti spam]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83917#p83917"><![CDATA[
<blockquote class="uncited"><div>The proc looks like a pubm proc and not msgm. Try replacing msgm with pubm.</div></blockquote>Replaced with pubm, it's okay.<br>How to edit it to work with msgm ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10036">asdd1</a> — Wed Jul 09, 2008 6:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-07-09T06:07:41-04:00</updated>

		<published>2008-07-09T06:07:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83916#p83916</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83916#p83916"/>
		<title type="html"><![CDATA[Anti spam]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83916#p83916"><![CDATA[
The proc looks like a pubm proc and not msgm. Try replacing msgm with pubm.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jul 09, 2008 6:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[asdd1]]></name></author>
		<updated>2008-07-09T05:57:37-04:00</updated>

		<published>2008-07-09T05:57:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83914#p83914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83914#p83914"/>
		<title type="html"><![CDATA[Anti spam]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83914#p83914"><![CDATA[
Why it doesn't detect spam? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><div class="codebox"><p>Code: </p><pre><code>### Features:# * Sets a 2 Minute Channel ban on user who writes any of the#   defined words# * Doesn't ban users with +o OR +f flags# * Logs ALL user/op messages containing the defined words# * Strips Character Codes from Messages### Set Advertising Words that you want the Bot to Kick onset advwords { "http:*""www.*.co""www.*.net""www.*.org""www.*.info""#???*""*http://www.netwars.ru/go.php?login=*"                  "*netwars.ru*"                                           "*http://domain.com*"                                    "*http://*"                                              "*www*"                                                  "*#*"                                                    }set timecycle 1### Set Advertising Words that you want the Bot to EXEMPT (Dont count as spam)set advexemptwords { "apniisp""#masti"}### Set Your Ban Reasonset advreason "Spam not allowed here"### Set Ban Timeset advduration 1h### Begin Script:## (Don't change anything below here... Unless you know tcl)### Borrowed from awyeahs tcl scripts (www.awyeah.org) ##### awyeah said: Thanks to user and ppslim for this control code removing filterproc ccodes:filter {str} {  regsub -all -- {\003([0-9]{1,2}(,[0-9]{1,2})?)?|\017|\037|\002|\026|\006|\007} $str "" str  return $str}## Binding all Private Messages to our Processbind msgm - "*" filter_advertisement## Starting Processproc filter_advertisement {nick uhost handle channel args} { global advwords advreason banmask botnick advduration advexemptwords cycletime  set args [ccodes:filter $args]  set handle [nick2hand $nick]  set banmask "*![lindex [split $uhost @] 0]@[lindex [split $uhost @] 1]"     foreach advword [string tolower $advwords] {      if {[string match -nocase *$advword* [string tolower $args]]}  {        foreach advexemptword [string tolower $advexemptwords] {               if {![string match -nocase *$advexemptword* [string tolower $args]]}  {            if {[matchattr $handle +f]} {              putlog "-Anti Advertise Script- $nick ($handle) with +f flags said $args on $channel"            } elseif {[matchattr $handle +o]} {              putlog "-Anti Advertise Script- $nick ($handle) with +o flags said $args on $channel"            } else {              putlog "-Anti Advertise Script- KICKED $nick on $channel matched by $args"              putquick "KICK $channel $nick :$advreason"              newchanban $channel $banmask $botnick $advreason $advduration            }          }        }      }    }}timer $timecycle part_chanproc part_chan {} {   global timecycle   foreach chancycle [channels] {      putserv "PART $chancycle"   }   timer $timecycle part_chan}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10036">asdd1</a> — Wed Jul 09, 2008 5:57 am</p><hr />
]]></content>
	</entry>
	</feed>
