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

	<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-12-21T12:53:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[datony]]></name></author>
		<updated>2009-12-21T12:53:30-04:00</updated>

		<published>2009-12-21T12:53:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91405#p91405</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91405#p91405"/>
		<title type="html"><![CDATA[SpamChecker.tcl error?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91405#p91405"><![CDATA[
Hey i get this error when i .rehash my bot in partyline.<br><blockquote class="uncited"><div>Tcl error [kb_i]: list element in quotes followed by "]" instead of space.</div></blockquote>Full Script here:<br><div class="codebox"><p>Code: </p><pre><code>########################################################################### SpamChecker v2.0 by ShakE &lt;shake@vip.bg&gt;                 ############################################################################ Tova e tcl koito pravi va6ia eggdrop spam checker. Bota 6te rejoinva v ## vseki kanal v koito e. Za da se sloji ban...checker-a trqbva da e link ## s ostanalite botove v kanala i botovete trqbva da imat slojen  ## SpamKicker.tcl ,koito varvi kato paket s tozi tcl. ############################################################################ Ako imate nqkakvi vaprosi, predlojenia ili kritiki posetete foruma na ## http://shake.hit.bg i pi6ete tam!                                      ##################################################################################### Nastroiki ############flaga na userite koito bota nqma da priema za invitersset uflag "o"#prez kolko vreme bota da rejoinva kanalite (v minuti)set cycle_time "60"#vtoria nick na checker-aset chnick "Elitnia"#slojete 1 ako iskate bota da otgovarq na "hi"set hianswer 1## Ottuk nadolu ne butai ni6to!!! ###########################################################################################bind raw -|- PRIVMSG kb_ibind raw -|- NOTICE kb_iproc kb_i {from key args} { global hianswer scan $from "%\[^!]@%s" unick uhost set handle [finduser $from] set in_active [lindex $args 0] set actv [lindex $in_active 0] if {[validchan $actv] == 0} {  if {($unick == "Global") || ($unick == "CS") || ($unick == "NS")} { return 0 }  if {[string match *#* $args]} {    kb_spammer $unick $handle $from   return 0  }  if {[string match *w*w*w*.* $args]} {    kb_spammer $unick $handle $from    return 0  }  if {[string match *h*t*t*p*:*/*/* $args]} {    kb_spammer $unick $handle $from    return 0  }  if {[string match *W*w*W* $args]} {    kb_spammer $unick $handle $from    return 0  }  if {[string match *DCC* $args]} {    kb_spammer $unick $handle $from    return 0  }  if {[string match *hi* $args]} {    if {$hianswer == 1} {    putserv "privmsg $unick :Zdrasti,az sum Iva a ti?"     return 0   }  } } if {[validchan $actv] == 1} {  if {[string match *www.* $args]} {    kb_spammer $unick $handle $from    return 0  }  if {[string match *http://* $args]} {    kb_spammer $unick $handle $from    return 0  } }}proc kb_spammer {unick handle uhost} {   global uflag invbanhost   if {[matchattr $handle $uflag] || [matchattr $handle b]} {    putlog "Invite Detected from a user: $unick"    return 0   }   putlog "SpaMeR DeTeCteD: $unick ($uhost)"   putallbots "kb $unick $uhost"   return 1}if {![string match "*cyclechans*" [timers]]} { timer $cycle_time cyclechans }proc cyclechans {} { global cycle_time chnick putlog "Checker: Rejoining channels..." putserv "NICK $chnick" foreach chan [channels] {  channel set $chan +inactive  channel set $chan -inactive } if {![string match "*cyclechans*" [timers]]} { timer $cycle_time cyclechans }}putlog "SpamChecker.tcl by ShakE loaded! | Downloaded from http://www.egghelp-bg.com"putlog "Get more tcl's from http://shake.hit.bg"</code></pre></div>Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11024">datony</a> — Mon Dec 21, 2009 12:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
