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

	<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-01-07T10:10:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DaRkOoO]]></name></author>
		<updated>2009-01-07T10:10:46-04:00</updated>

		<published>2009-01-07T10:10:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86772#p86772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86772#p86772"/>
		<title type="html"><![CDATA[Clones]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86772#p86772"><![CDATA[
Works fine,thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10236">DaRkOoO</a> — Wed Jan 07, 2009 10:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2009-01-07T09:13:36-04:00</updated>

		<published>2009-01-07T09:13:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86770#p86770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86770#p86770"/>
		<title type="html"><![CDATA[Clones]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86770#p86770"><![CDATA[
This was made ages ago, not sure if it still works:<br><div class="codebox"><p>Code: </p><pre><code>namespace eval clonescan {        variable copyright "[lindex [split [info script] /] end] - v1.0.0.0 - r0t3n"        variable clones        array set clones {}        variable trigger "!"        bind pub m|o "${trigger}clone" [namespace current]::commands    }proc clonescan::commands {nickname hostname handle channel text} {    putquick "PRIVMSG $channel :Starting clonescan for $channel..."    set start [clock clicks]    foreach user [chanlist $channel] {    if {[clonescan::checknick $user]} { continue }    foreach user1 [chanlist $channel] {    if {[clonescan::checknick $user1]} { continue }        set host [lindex [split [getchanhost $user $channel] @] 1]        set host1 [lindex [split [getchanhost $user1 $channel] @] 1]        if {![string equal -nocase $user1 $user]} {            if {[string equal -nocase $host $host1]} {                if {[info exists clonescan::clones($channel:$host)]} {                    set list $clonescan::clones($channel:$host)                    set add ""                    if {[lsearch -exact "$list" $user] == "-1"} {                        if {$add == ""} {                            set add "$user"                        } else {                            set add "$add $user"                        }                    }                    if {([lsearch -exact "$list" $user1] == "-1") &amp;&amp; ([lsearch -exact "$add" $user1] == "-1")} {                        if {$add == ""} {                            set add "$user1"                        } else {                            set add "$add $user1"                        }                    }                    if {$add != ""} {                        set clonescan::clones($channel:$host) "$list $add"                    }                } else {                    set clonescan::clones($channel:$host) "$user $user1"                }            }        }        }    }    set end [clock clicks]    set count "0"    foreach clone [array names clonescan::clones $channel:*] {        if {$clone == ""} { return }        set host [lindex [split $clone :] 1]        set nicklist [join "[lsort -unique $clonescan::clones($channel:$host)]" ", "]        set i [expr {[clonescan::string2llength $nicklist] - 1}]        putserv "PRIVMSG $channel :\($host\) Nicklist: $nicklist - Clones: $i"        incr count $i    }    foreach variable [array names clonescan::clones $channel:*] {        unset clonescan::clones($variable)    }    putserv "PRIVMSG $channel :Clones: $count ([set p [format %.1f [expr ($count.0 * 100.0) / [set c [llength [chanlist $channel]]].0]]]%) Realusers: [expr ($c - $count)] ([expr (100.0 - $p)]%) - Took: [expr ($end-$start)/1000.0]ms."}proc clonescan::checknick {nickname} {    global botnick    if {[string equal -nocase $botnick $nickname] || $nickname == "Q" || $nickname == "S"} {        return 1    } else {        return 0    }}proc clonescan::string2llength {str} {    set i "0"    foreach x $str {        incr i 1    }    return "$i"}putlog "$clonescan::copyright - loaded!"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Wed Jan 07, 2009 9:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DaRkOoO]]></name></author>
		<updated>2009-01-07T07:45:38-04:00</updated>

		<published>2009-01-07T07:45:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86766#p86766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86766#p86766"/>
		<title type="html"><![CDATA[Clones]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86766#p86766"><![CDATA[
users with same Ip adresses..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10236">DaRkOoO</a> — Wed Jan 07, 2009 7:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nimos]]></name></author>
		<updated>2009-01-07T07:24:09-04:00</updated>

		<published>2009-01-07T07:24:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86763#p86763</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86763#p86763"/>
		<title type="html"><![CDATA[Clones]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86763#p86763"><![CDATA[
how do you define a "clone"?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9877">Nimos</a> — Wed Jan 07, 2009 7:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DaRkOoO]]></name></author>
		<updated>2009-01-06T15:49:10-04:00</updated>

		<published>2009-01-06T15:49:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86746#p86746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86746#p86746"/>
		<title type="html"><![CDATA[Clones]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86746#p86746"><![CDATA[
Hi ppl.<br><br>Can someone write script that will scan chann for clones?<br>It should react on "!clone".When someone write that on channel,bot should scan clones and say results in that channel..<br><br><br>Regards,<br>Darko.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10236">DaRkOoO</a> — Tue Jan 06, 2009 3:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
