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

	<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>2009-03-18T03:12:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fill]]></name></author>
		<updated>2009-03-18T03:12:38-04:00</updated>

		<published>2009-03-18T03:12:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87923#p87923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87923#p87923"/>
		<title type="html"><![CDATA[Add exceptions for Anti-Spam script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87923#p87923"><![CDATA[
ahm yeah, you're right, forgot the flags  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>I'll be testing it in some hours, now I can't access the bot. Thanks for the help.<br><br>See ya<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10430">Fill</a> — Wed Mar 18, 2009 3:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-03-17T22:20:47-04:00</updated>

		<published>2009-03-17T22:20:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87920#p87920</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87920#p87920"/>
		<title type="html"><![CDATA[Add exceptions for Anti-Spam script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87920#p87920"><![CDATA[
You missed out the flags argument in the pubm bind btw<br><br>bind pubm &lt;flags&gt; &lt;mask&gt; &lt;procname&gt;<br><div class="codebox"><p>Code: </p><pre><code>set varExceptions {  "www.therostrum.net"  "www.anothersite.net"}bind pubm - "#cyber-world *.net*" spamfilter proc spamfilter { nick uhost hand chan text } {   global varExceptions  foreach site $varExceptions {    if {[string match -nocase "*$site*" $text]} {return 0}  }  putserv "KICK $chan $nick :Go spam your own chan!" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Tue Mar 17, 2009 10:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fill]]></name></author>
		<updated>2009-03-17T16:33:33-04:00</updated>

		<published>2009-03-17T16:33:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87919#p87919</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87919#p87919"/>
		<title type="html"><![CDATA[Add exceptions for Anti-Spam script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87919#p87919"><![CDATA[
Hi folks,<br><br>I have a simple anti-spam script like this:<br><div class="codebox"><p>Code: </p><pre><code>bind pubm "#cyber-world *.net*" spamfilterproc spamfilter { nick uhost hand chan text } {putserv "KICK $chan $nick :Go spam your own chan!"}</code></pre></div>But I'd like to add some exceptions to this, e.g., if the user says <a href="http://www.therostrum.net" class="postlink">www.therostrum.net</a>, the bot doesn't kick him, but kicks with any other website.<br><br>I tried using string first and string match but didn't get any successful result. Could you help me out with this?<br><br>Thanks in advance,<br>Fill<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10430">Fill</a> — Tue Mar 17, 2009 4:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
