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

	<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-04-28T21:21:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-04-28T21:21:28-04:00</updated>

		<published>2008-04-28T21:21:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82604#p82604</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82604#p82604"/>
		<title type="html"><![CDATA[Anti-Spam bot !!! Need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82604#p82604"><![CDATA[
<blockquote class="uncited"><div># Detects on join/on part spam in one channel, and alerts in another channel.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Apr 28, 2008 9:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PoHuIsT]]></name></author>
		<updated>2008-04-22T12:44:51-04:00</updated>

		<published>2008-04-22T12:44:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82487#p82487</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82487#p82487"/>
		<title type="html"><![CDATA[Anti-Spam bot !!! Need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82487#p82487"><![CDATA[
hi all i have a problem i have this script and i need that this script will not ban a spamer o msg chan a spamer nick text and time samthink like this<br>now im yuzing this script it loock like this <br><div class="codebox"><p>Code: </p><pre><code>##### 23.08.03# Spam Detective v1.0 by MarlbMan# irc.newnet.net #complete-chat################ Detects on join/on part spam in one channel, and alerts in another channel.########### Credits: I got the idea from Torr/MC_8's Spam Check. I wanted a script that would#          join/part a channel at specified intervals, but instead of kicking/banning#          I wanted it to alert the ops in another channel. This is my 5th script, but#          the first I've made public. Critism is welcome. I will be releasing a few#          more very soon.########### Settings:###### Which channel shall we monitor for spam?set spamdet(monitor_chan) ""# Which channel shall we posts alerts in?set spamdet(alert_chan) "#[censored]-listas"# How many minutes shall we idle in channel?set spamdet(idle_time) "10"# How many seconds shall we stay gone?set spamdet(gone_time) "15"# Exempt by nick (seperate by ,)set spamdet(nexempt) "ChanServ, MarlbMan, nickserv, Dr-Fox"# Exempt by host (seperate by ,)set spamdet(hexempt) "cwbot@64.124.16.33"# CTCP Keys to ignore (should always include action to prevent actions being reported)set spamdet(kexempt) "ACTION"###### Code (If you edit below this line you will hemmorage uncontrollably from your rectum)#####set spamdet(ver) "1.0"if {![string match *spamdetect* [timers]]} {timer $spamdet(idle_time) spamdetect}proc spamdetect {} {global spamdet botnickforeach chan [split $spamdet(monitor_chan)] { channel set $chan +inactive utimer $spamdet(gone_time) [list channel set $chan -inactive]}if {![string match *spamdetect* [timers]]} {timer $spamdet(idle_time) spamdetect}}spamdetectproc EchoMESG { nick uhost handle args } {global spamdetif {![string match *$nick* $spamdet(nexempt)]} {if {![string match *$uhost* $spamdet(hexempt)]} {putserv "PRIVMSG $spamdet(alert_chan) :!ban $nick (autokilled: Reklama, Until Sun Oct 29 24:00:00 2010)"putserv "PRIVMSG $spamdet(alert_chan) :Delivery Form: MESG"putserv "PRIVMSG $spamdet(alert_chan) :&lt;$nick!$uhost&gt; $args"  } }}bind msgm -|- * EchoMESGputlog "Spam Detective v1.0 by MarlbMan loaded"</code></pre></div>[17:39:28] [+Parok`]: !ban seiliusz (autokilled: Reklama, Until Sun Oct 29 24:00:00 2010)<br>" BlackList: Getting address for seiliusz<br>[17:39:28] [~PoHuIsT]: nikas: seiliusz pateko i dalbajobu lista: (autokilled: Reklama, Until Sun Oct 29 24:00:00 2010) (by Parok`)<br>[17:39:28] ::: Userhost: seiliusz=+~<a href="mailto:Emea@aitvaras-64816952.vdnet.lt">Emea@aitvaras-64816952.vdnet.lt</a><br>• BlackList: seiliusz!~<a href="mailto:Emea@aitvaras-64816952.vdnet.lt">Emea@aitvaras-64816952.vdnet.lt</a> has been added to the shitlist.<br>[17:39:30] [+Parok`]: Delivery Form: MESG<br>[17:39:32] [+Parok`]: &lt;seiliusz!~<a href="mailto:Emea@aitvaras-64816952.vdnet.lt">Emea@aitvaras-64816952.vdnet.lt</a>&gt; {Labas:) uzeik i gan nebloga zombie infection mod servery (SERWO APRASYMAS ten yra lietuviskas radio + 5 pasirinkimai peiliu + parasiutas + geras pasilinksminimas - gali ilgai siusti amx bet nieko geriau palauk db nereiks weliau uzeik dievams.sytes.net &lt;---zombie infection}<br><br><div class="codebox"><p>Code: </p><pre><code>######## Opcijos ######### Nustatyti kanala (-us), kuriame (-uose) botas skus reklamerius# Jei nenorite kad botas neskustu i kanala (-us), tada tarp kabuciu# nepalikite tarpo - ""set stukas_k ""# Nustatyti nicka (-us), kuriam (-iems) botas skus reklamerius# Jei nenorite kad botas neskustu nikui (-ams), tada tarp kabuciu# nepalikite tarpo - "PoHuIsT"set stukas_n ""## Cia reikia irasyti i kokius simbolius bus reaguojama.## Pagal juos botas analizuos privacius pranesimus jam.set reakcija "# http www @ ateik kanalas agentas naujas gather kanaliukas sveikas mmm"## Kas kiek laiko daryti cycle (iseiti-iseiti) kanaluose? (minutemis)set cycle_time 10## Botas palieka kanalus su kokiu msgset part_msg "Scanning"###### Pagrindinis kodas ######bind pub * * copy_privatproc copy_privat {nick host handle chan arg} {global reakcija stukas_k stukas_n botnickset time [clock format [unixtime] -format " %Y-%m-%d %H:%M"]regsub -nocase "www" $text " www " textregsub -nocase "http" $text " http " textregsub -nocase ":" $text " : " textregsub -nocase "#" $text " # " textforeach ieskom $reakcija {if {[string match *$ieskom* $text]} {if {$stukas_k != -1} {foreach kanalai $stukas_k {newignore $nick\!*@* $botnick ignored. 1foreach kanalas [channels] {putserv "PRIVMSG chanserv :ban $kanalas $nick ! Reklama ! Data/laikas : \[ $time \] , Nick'as : $nick , Ident/host : $host"}}}if {$stukas_n != -1} {foreach nikai_n $stukas_n {newignore $nick\!*@* $botnick ignored. 1putquick "PRIVMSG $nikai_n :! Reklama ! Data/laikas : \[ $time \] , Nick'as : $nick , Ident/host : $host , Tekstas : $textas "}}}}return 1}bind MSGM - * copy_privatproc copy_privat {nick host handle text} {global reakcija stukas_k stukas_n botnickset time [clock format [unixtime] -format " %Y-%m-%d %H:%M"]regsub -nocase "www" $text " www " textregsub -nocase "http" $text " http " textregsub -nocase ":" $text " : " textregsub -nocase "#" $text " # " textforeach ieskom $reakcija {if {[string match *$ieskom* $text]} {if {$stukas_k != -1} {foreach kanalai $stukas_k {newignore $nick\!*@* $botnick ignored. 1foreach kanalas [channels] {putserv "PRIVMSG chanserv :ban $kanalas $nick ! Reklama ! Data/laikas : \[ $time \] , Nick'as : $nick , Ident/host : $host"}}}if {$stukas_n != -1} {foreach nikai_n $stukas_n {newignore $nick\!*@* $botnick ignored. 1putquick "PRIVMSG $nikai_n :! Reklama ! Data/laikas : \[ $time \] , Nick'as : $nick , Ident/host : $host , Tekstas : $textas "}}}}return 1}########## Party komanda ###if {![info exists part_chan]} {       timer $cycle_time part_chan                          set myproc_running 1                   }          proc part_chan {} {  global stukas_k part_msg cycle_time    foreach kanalas [channels] {  if {[string match *$kanalas* $stukas_k] != 1 }  {  puthelp "PART $kanalas Scanning #GTH"}}timer $cycle_time part_chanreturn 1}putlog "Antireklama.tcl loaded (by : gameuzz)"</code></pre></div>[17:23:01] ::: Mode: (ChanServ) sets (+b *!*@aitvaras-38364723.tavo.net)<br>[17:23:01] ::: Kick: (CGI985) was kicked by (ChanServ) (! Reklama ! Data/laikas : [ 2008-04-22 17:23 ] , Nick'as : CGI985 , Ident/host : ~<a href="mailto:54f03d46@aitvaras-38364723.tavo.net">54f03d46@aitvaras-38364723.tavo.net</a> (Parok`))<br><br><br><br>Becose that first one code ic baning all bpeople who mdg him <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=9390">PoHuIsT</a> — Tue Apr 22, 2008 12:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
