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

	<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>2005-07-20T03:35:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-07-20T03:35:24-04:00</updated>

		<published>2005-07-20T03:35:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52918#p52918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52918#p52918"/>
		<title type="html"><![CDATA[i need edit this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52918#p52918"><![CDATA[
Just remember also to "stripcodes" in $arg before matching also so it is easier and can catch more spammers using different techniques of spamming links and urls.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Jul 20, 2005 3:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-18T18:19:57-04:00</updated>

		<published>2005-07-18T18:19:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52820#p52820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52820#p52820"/>
		<title type="html"><![CDATA[i need edit this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52820#p52820"><![CDATA[
<blockquote class="uncited"><div>i mean if there any one send msg private by spam for website for server<br>the bot send him nick and hismsg<br>like: spam: nick Msg: welcome to <a href="http://www.ww.com" class="postlink">www.ww.com</a><br>-<br>the bot send him nick with him msg to some channel,</div></blockquote>Isn't that what the script is already doing?<blockquote class="uncited"><div>putserv "privmsg #channelname :Spammer $nick ,Message: $text"</div></blockquote>Anyway, this should do it:<div class="codebox"><p>Code: </p><pre><code>set spamrchan "#yourchan"bind msgm - * relay:spamproc relay:spam {nick uhost hand arg} { if {[regexp {(?i)(http://|www\.|irc\.|[[:space:]]#)} $arg]} {  puthelp "PRIVMSG $::spamrchan :Spam by $nick with message: $arg" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jul 18, 2005 6:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-07-18T17:25:27-04:00</updated>

		<published>2005-07-18T17:25:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52817#p52817</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52817#p52817"/>
		<title type="html"><![CDATA[i need edit this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52817#p52817"><![CDATA[
i mean if there any one send msg private by spam for website for server<br>the bot send him nick and hismsg<br>like: spam: nick Msg: welcome to <a href="http://www.ww.com" class="postlink">www.ww.com</a><br>-<br>the bot send him nick with him msg to some channel,<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Mon Jul 18, 2005 5:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-07-18T17:17:17-04:00</updated>

		<published>2005-07-18T17:17:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52814#p52814</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52814#p52814"/>
		<title type="html"><![CDATA[i need edit this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52814#p52814"><![CDATA[
i'd say, if regexp or this script will kick everybody no matter what i suppose<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Jul 18, 2005 5:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-07-18T17:01:03-04:00</updated>

		<published>2005-07-18T17:01:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52812#p52812</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52812#p52812"/>
		<title type="html"><![CDATA[i need edit this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52812#p52812"><![CDATA[
<blockquote class="uncited"><div>for detecting spam you can use this:<div class="codebox"><p>Code: </p><pre><code>regexp {(?i)(http://|www\.|irc\.|[[:space:]]#)} $string</code></pre></div></div></blockquote>--<br>like this <div class="codebox"><p>Code: </p><pre><code>set spambantime 30 bind msgm - "*" pv_kick proc pv_kick {nick uhost hand text} {   global botnick spambantime  regexp {(?i)(http://|www\.|irc\.|/server)} $string     foreach kickchan [channels] {       if {![isop $nick $kickchan] || ![matchattr $hand o] || ![isvoice $nick $kickchan]} {            if {[onchan $nick $kickchan]} {              set bmask "*!*[string range $uhost [string first "@" $uhost] end]"           if {![ischanban $bmask $kickchan] || [botisop $kickchan]} {             putserv "privmsg #channelname :Spammer $nick ,Message: $text"           }         }       }     }   } } putlog "Spammers Send to channel opes tcl"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Mon Jul 18, 2005 5:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-18T16:54:21-04:00</updated>

		<published>2005-07-18T16:54:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52811#p52811</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52811#p52811"/>
		<title type="html"><![CDATA[i need edit this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52811#p52811"><![CDATA[
for detecting spam you can use this:<div class="codebox"><p>Code: </p><pre><code>regexp {(?i)(http://|www\.|irc\.|[[:space:]]#)} $string</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Jul 18, 2005 4:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-07-18T16:42:22-04:00</updated>

		<published>2005-07-18T16:42:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52810#p52810</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52810#p52810"/>
		<title type="html"><![CDATA[i need edit this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52810#p52810"><![CDATA[
hi i try to make some script, for the opers<br>if there any users send msg spammrs for the bot, the bot copye<br>the nickname and the test of the msg, but doesn`t work good<br>pls i need help with it, and thanks<br>---<div class="codebox"><p>Code: </p><pre><code>set spambantime 30bind msgm - "*" pv_kickproc pv_kick {nick uhost hand text} {  global botnick spambantime  if {[regexp -nocase "/server" $text] || [regexp -nocase "http://" $text] ||   [regexp -nocase "www." $text] || [regexp -nocase "decode" $text] || [regexp -nocase "ftp://" $text] &gt; 0} {     foreach kickchan [channels] {      if {![isop $nick $kickchan] || ![matchattr $hand o] || ![isvoice $nick $kickchan]} {            if {[onchan $nick $kickchan]} {             set bmask "*!*[string range $uhost [string first "@" $uhost] end]"          if {![ischanban $bmask $kickchan] || [botisop $kickchan]} {            putserv "privmsg #channelname :Spammer $nick ,Message: $text"          }        }      }    }  }}putlog "Spammers Send to channel opes tcl"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Mon Jul 18, 2005 4:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
