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

	<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>2003-08-12T07:01:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-05T07:19:30-04:00</updated>

		<published>2003-08-05T07:19:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24401#p24401</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24401#p24401"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24401#p24401"><![CDATA[
because its not the whole script. I just pasted some lines from the script.<br><br>anyway its very raire for that error to appear, I never saw it again after my last post in this thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Aug 05, 2003 7:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Volume]]></name></author>
		<updated>2003-08-04T18:39:11-04:00</updated>

		<published>2003-08-04T18:39:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24384#p24384</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24384#p24384"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24384#p24384"><![CDATA[
i would test this script on eggdrop 1.6.15 but the bot go off<br><blockquote class="uncited"><div>[00:28:37] &lt;Pferd&gt; [00:30] Tcl error in file 'pferd.conf':<br>[00:28:37] &lt;Pferd&gt; [00:30] can't read "cp_chans": no such variable<br>[00:28:37] &lt;Pferd&gt;     while executing<br>[00:28:37] &lt;Pferd&gt; "string tolower $cp_chans"<br>[00:28:37] &lt;Pferd&gt;     invoked from within<br>[00:28:37] &lt;Pferd&gt; "set cp_chans [string tolower $cp_chans] "<br>[00:28:37] &lt;Pferd&gt;     (file "scripts/clonepro.tcl" line 76)<br>[00:28:37] &lt;Pferd&gt;     invoked from within<br>[00:28:37] &lt;Pferd&gt; "source scripts/clonepro.tcl"<br>[00:28:37] &lt;Pferd&gt;     (file "pferd.conf" line 1384)<br>[00:28:37] &lt;Pferd&gt; [00:30] * KONFIGURATIONSDATEI NICHT GELADEN (NICHT GEFUNDEN ODER FEHLER)<br>-<br>DCC session closed</div></blockquote><blockquote class="uncited"><div>[00:35] Tcl error in file 'pferd.conf':<br>[00:35] can't read "cp_chans": no such variable<br>    while executing<br>"string tolower $cp_chans"<br>    invoked from within<br>"set cp_chans [string tolower $cp_chans] "<br>    (file "scripts/clonepro.tcl" line 76)<br>    invoked from within<br>"source scripts/clonepro.tcl"<br>    (file "pferd.conf" line 1384)<br>[00:35] * KONFIGURATIONSDATEI NICHT GELADEN (NICHT GEFUNDEN ODER FEHLER)<br>pferd@server1$</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3212">Volume</a> — Mon Aug 04, 2003 6:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T14:28:01-04:00</updated>

		<published>2003-07-11T14:28:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23329#p23329</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23329#p23329"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23329#p23329"><![CDATA[
found these in a script:<div class="codebox"><p>Code: </p><pre><code>foreach chan [channels] {  if {![info exists tslines([strlwr $chan])]} {    set tslines([strlwr $chan]) 0  }  if {![info exists tsnotc([strlwr $chan])]} {    set tsnotc([strlwr $chan]) 0  }} proc tsunami:pub {nick uhost hand chan text} {  global tslines lineblist[snip]if {![info exists tslines([strlwr $chan])]} { set tslines([strlwr $chan]) 0 }[snip]incr tslines([strlwr $chan])[snip]if {$tslines([strlwr $chan]) &gt;= $lines} {       putquick "MODE [strlwr $chan] +$::linemds" -next[snip]proc tsreset {args} {  global tslines tsnotc  switch -- [lindex $args 0] {    "tlines" {      incr tslines([strlwr [lindex $args 1]]) -1      return    }[snip]proc tsunami:part {nick uhost hand chan msg} {  global tslines tsnotc  if {$nick != $::botnick} {      return  }  foreach arr_part [array names tslines] {[snip]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 2:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-07-11T14:19:53-04:00</updated>

		<published>2003-07-11T14:19:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23328#p23328</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23328#p23328"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23328#p23328"><![CDATA[
<blockquote class="uncited"><div>now the following error appears when the bot parts then joins the channel:<blockquote class="uncited"><div>[11:12] Bot joined #channel.<br>[11:13] Tcl error in script for 'timer32806':<br>[11:13] can't read "tslines(#channel)": no such element in array</div></blockquote>now what's the problem ?? :p</div></blockquote>this seems not related to the code you posted earlier, but to some other code. Check for the word "tslines" in the tcl scripts you loaded.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Fri Jul 11, 2003 2:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-12T07:01:52-04:00</updated>

		<published>2003-07-11T14:16:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23327#p23327</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23327#p23327"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23327#p23327"><![CDATA[
<em class="text-italics">Edit</em>:nothing. (mistake reply) sorry<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 2:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T12:51:46-04:00</updated>

		<published>2003-07-11T12:51:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23321#p23321</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23321#p23321"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23321#p23321"><![CDATA[
ok, thanx again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>this time it works very well with no errors and no such abuse. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 12:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-07-11T12:28:06-04:00</updated>

		<published>2003-07-11T12:28:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23320#p23320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23320#p23320"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23320#p23320"><![CDATA[
<blockquote class="uncited"><div>ok thanx again. I did as u told me, but this new error appears:<br><br>[09:17] Tcl error in script for 'timer28022':<br>[09:17] wrong # args: should be "upvar ?level? otherVar localVar ?otherVar localVar ...?"</div></blockquote>Yeah, my bad.<br><br>replace<br><div class="codebox"><p>Code: </p><pre><code>utimer [lindex $cp_jp_flood 1] "cp_expire cp_uh_count($uhost:$chan)" </code></pre></div> <br>by<div class="codebox"><p>Code: </p><pre><code>utimer [lindex $cp_jp_flood 1]  [list cp_expire cp_uh_count($uhost:$chan)]</code></pre></div>This will send the name of the array to the cp_expire proc and not the value.<br><br>Aren't there any other clone detection scripts out there? This is kind of an odd script which will show interesting behaviour under serious flood conditions.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Fri Jul 11, 2003 12:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T12:19:21-04:00</updated>

		<published>2003-07-11T12:19:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23319#p23319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23319#p23319"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23319#p23319"><![CDATA[
ok thanx again. I did as u told me, but this new error appears:<br><br>[09:17] Tcl error in script for 'timer28022':<br>[09:17] wrong # args: should be "upvar ?level? otherVar localVar ?otherVar localVar ...?"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 12:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-07-11T12:12:24-04:00</updated>

		<published>2003-07-11T12:12:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23318#p23318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23318#p23318"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23318#p23318"><![CDATA[
<blockquote class="uncited"><div>ok thank you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>but now this error appears:<br>[08:58] Tcl error [clone_pro_join]: can't read "cp_uh_count(<a href="mailto:ident@xx.xx.xxx.xxx">ident@xx.xx.xxx.xxx</a>:#channel)": no such variable<br><br>Note:I replaced all cp_uh_count($uhost:$chan) with $cp_uh_count($uhost:$chan) except the <strong class="text-strong">set cp_uh_count($uhost:$chan)</strong></div></blockquote>You only need to replace it in the utimers, not everywhere.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Fri Jul 11, 2003 12:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T12:00:11-04:00</updated>

		<published>2003-07-11T12:00:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23317#p23317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23317#p23317"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23317#p23317"><![CDATA[
ok thank you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>but now this error appears:<br>[08:58] Tcl error [clone_pro_join]: can't read "cp_uh_count(<a href="mailto:ident@xx.xx.xxx.xxx">ident@xx.xx.xxx.xxx</a>:#channel)": no such variable<br><br>Note:I replaced all cp_uh_count($uhost:$chan) with $cp_uh_count($uhost:$chan) except the <strong class="text-strong">set cp_uh_count($uhost:$chan)</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 12:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-07-11T12:13:22-04:00</updated>

		<published>2003-07-11T11:43:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23315#p23315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23315#p23315"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23315#p23315"><![CDATA[
<blockquote class="uncited"><div>I got it from the TCL archieve of this site (<a href="http://www.egghelp.org" class="postlink">http://www.egghelp.org</a>), Clonepro.tcl.<br><br>so all i have to do is replace from <strong class="text-strong">cp_uh_count($uhost:$chan)</strong> to <strong class="text-strong">$cp_uh_count($uhost:$chan)</strong> and it won't have this problem ?</div></blockquote>Yes. Note that that line occurs a couple of times in the code you pasted.<br><br>Edit: only replace it in the utimers lines. NOT everywhere.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Fri Jul 11, 2003 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T11:29:03-04:00</updated>

		<published>2003-07-11T11:29:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23314#p23314</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23314#p23314"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23314#p23314"><![CDATA[
I got it from the TCL archieve of this site (<a href="http://www.egghelp.org" class="postlink">http://www.egghelp.org</a>), Clonepro.tcl.<br><br>so all i have to do is replace from <strong class="text-strong">cp_uh_count($uhost:$chan)</strong> to <strong class="text-strong">$cp_uh_count($uhost:$chan)</strong> and it won't have this problem ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 11:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-07-11T06:49:08-04:00</updated>

		<published>2003-07-11T06:49:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23306#p23306</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23306#p23306"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23306#p23306"><![CDATA[
<blockquote class="uncited"><div>how about this one ?<div class="codebox"><p>Code: </p><pre><code>proc clone_pro_join {nick uhost handl chan} {[snip]proc clone_pro_leave {nick uhost handl chan {reason "Left channel"}} {</code></pre></div></div></blockquote>That is a good candidate.<br><div class="codebox"><p>Code: </p><pre><code>utimer [lindex $cp_jp_flood 1] "cp_expire cp_uh_count($uhost:$chan)"</code></pre></div>This is the offending line, which appears multiple times in the snippet you pasted. Note that this script makes a call to the proc "cp_expire" with "cp_uh_count($uhost:$chan)" as its argument. It appears this is a mistake and should be "$cp_uh_count($uhost:$chan)"<br><br>It is appreciated if you let us know what script this is and where you got it. If you got it from the egghelp.org tcl scripts repository, please inform slennox on it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Fri Jul 11, 2003 6:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T06:23:11-04:00</updated>

		<published>2003-07-11T06:23:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23305#p23305</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23305#p23305"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23305#p23305"><![CDATA[
how about this one ?<div class="codebox"><p>Code: </p><pre><code>proc clone_pro_join {nick uhost handl chan} {global cp_chans cp_j_flood cp_jp_flood cp_btime cp_host_count cp_uh_count cp_notifyset uhost [string tolower $uhost]set host [lindex [split $uhost @] 1]set chan [string tolower $chan]if {[lsearch -exact $cp_chans $chan] == -1} {return 0}if {![info exists cp_host_count($host:$chan)]} {set cp_host_count($host:$chan) 1} else {incr cp_host_count($host:$chan)}utimer [lindex $cp_j_flood 1] "cp_expire cp_host_count($host:$chan)"if {$cp_host_count($host:$chan) &gt; [lindex $cp_j_flood 0]} {newchanban $chan *!*@$host ClonePro "Join Flood detected from your host - Banned 10mins." $cp_btime          sendnote ClonePro $cp_notify "÷ banned *!*@$host (massjoin) on $chan, [ctime [unixtime]] ÷"if {[botisop $chan] &amp;&amp; [onchan $nick $chan]} {    putserv "mode $chan +MR"putquick "KICK $chan $nick :Join Flood detected from your host - Banned 10mins."    utimer 15 "pushmode $chan -R"    utimer 30 "pushmode $chan -M" }    }if {![info exists cp_uh_count($uhost:$chan)]} {set cp_uh_count($uhost:$chan) 1} else {incr cp_uh_count($uhost:$chan)}utimer [lindex $cp_jp_flood 1] "cp_expire cp_uh_count($uhost:$chan)"if {$cp_uh_count($uhost:$chan) &gt;= [expr [lindex $cp_jp_flood 0]*2]} {newchanban $chan *!*@$host ClonePro "eXcess Join/Part detected from your host - Banned 10mins." $cp_btime          sendnote ClonePro $cp_notify "÷ banned *!*@$host (join/part flood) on $chan, [ctime [unixtime]] ÷"if {[botisop $chan] &amp;&amp; [onchan $nick $chan]} {    putserv "mode $chan +R"putquick "KICK $chan $nick :eXcess Join/Part detected from your host - Banned 10mins."   utimer 15 "pushmode $chan -R"}    }}proc clone_pro_leave {nick uhost handl chan {reason "Left channel"}} {global cp_chans cp_jp_flood cp_btime cp_uh_count cp_notifyset uhost [string tolower $uhost]set host [lindex [split $uhost @] 1]set chan [string tolower $chan]if {[lsearch -exact $cp_chans $chan] == -1} {return 0}if {![info exists cp_uh_count($uhost:$chan)]} {set cp_uh_count($uhost:$chan) 1} else {incr cp_uh_count($uhost:$chan)}utimer [lindex $cp_jp_flood 1] "cp_expire cp_uh_count($uhost:$chan)"if {$cp_uh_count($uhost:$chan) &gt;= [expr [lindex $cp_jp_flood 0]*2]} {newchanban $chan *!*@$host ClonePro "eXcess Join/Part detected from your host - Banned 10mins." $cp_btime          sendnote ClonePro $cp_notify "÷ banned *!*@$host (join/part flood) on $chan, [ctime [unixtime]] ÷"if {[botisop $chan] &amp;&amp; [onchan $nick $chan]} {putserv "mode $chan +R"putquick "KICK $chan $nick :eXcess Join/Part detected from your host - Banned 10mins."   utimer 15 "pushmode $chan -R"}    }}proc cp_expire var_exp {upvar $var_exp var_pointer  if {$var_pointer &gt; 1} {incr var_pointer -1} else {unset var_pointer}}set cp_chans [string tolower $cp_chans]set cp_j_flood [split $cp_j_flood :]set cp_jp_flood [split $cp_jp_flood :]# clear variables and timers on rehashif {[array exists cp_host_count]} {unset cp_host_count}if {[array exists cp_uh_count]} {unset cp_uh_count}foreach check_utimer [utimers] {if {[string match cp_*_count* [lindex $check_utimer 1]]} {killutimer [lindex $check_utimer 2]}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 6:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-11T05:54:15-04:00</updated>

		<published>2003-07-11T05:54:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23304#p23304</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23304#p23304"/>
		<title type="html"><![CDATA[Script containing some abuse.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23304#p23304"><![CDATA[
it's not that script... it only has one utimer which is perfectly ok..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jul 11, 2003 5:54 am</p><hr />
]]></content>
	</entry>
	</feed>
