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

	<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>2006-03-23T07:30:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[.pt]]></name></author>
		<updated>2006-03-23T07:30:20-04:00</updated>

		<published>2006-03-23T07:30:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61315#p61315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61315#p61315"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61315#p61315"><![CDATA[
what is suppost the script do when find a new user because i dont see anything made by the script, sorry for the trouble<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6989">.pt</a> — Thu Mar 23, 2006 7:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[.pt]]></name></author>
		<updated>2006-03-17T16:19:31-04:00</updated>

		<published>2006-03-17T16:19:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61135#p61135</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61135#p61135"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61135#p61135"><![CDATA[
i forgot to ask something can the code remove the hosts automaticaly?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6989">.pt</a> — Fri Mar 17, 2006 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-03-17T14:28:27-04:00</updated>

		<published>2006-03-17T14:28:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61133#p61133</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61133#p61133"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61133#p61133"><![CDATA[
Umm.. That should only happen theoreticaly when the bot dosen't have any users in it's userlist. The folowing code should work fine.<div class="codebox"><p>Code: </p><pre><code>foreach u [userlist] {  foreach h [getuser $u hosts] {    lappend ul [list $h $u]  }}if {[info exists ul]} {  foreach {h u} [eval concat [lsort -index 0 $ul]] {    lappend ua($h) $u  }  foreach {h u} [array get ua] {    if {[llength $u] &gt; 1} {      putlog "$h: [join $u]"    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Mar 17, 2006 2:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[.pt]]></name></author>
		<updated>2006-03-17T14:05:25-04:00</updated>

		<published>2006-03-17T14:05:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61130#p61130</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61130#p61130"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61130#p61130"><![CDATA[
it gives me this error<br><br>•18:04:50• &lt;bot&gt; [12:03] can't read "ul": no such variable<br>•18:04:50• &lt;bot&gt;     while executing<br>•18:04:50• &lt;bot&gt; "lsort -index 0 $ul"<br>•18:04:50• &lt;bot&gt;     invoked from within<br>•18:04:50• &lt;bot&gt; "eval concat [lsort -index 0 $ul]"<br>•18:04:50• &lt;bot&gt;     invoked from within<br>•18:04:50• &lt;bot&gt; "foreach {h u} [eval concat [lsort -index 0 $ul]] {lappend ua($h) $u}"<br>•18:04:50• &lt;bot&gt;     (file "scripts/duplicatehost.tcl" line 6)<br>•18:04:50• &lt;bot&gt;     invoked from within<br>•18:04:50• &lt;bot&gt; "source scripts/duplicatehost.tcl"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6989">.pt</a> — Fri Mar 17, 2006 2:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tipi]]></name></author>
		<updated>2006-01-28T22:17:39-04:00</updated>

		<published>2006-01-28T22:17:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59884#p59884</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59884#p59884"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59884#p59884"><![CDATA[
thank you, you have saved me HOURS of work!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7103">Tipi</a> — Sat Jan 28, 2006 10:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-01-28T17:13:46-04:00</updated>

		<published>2006-01-28T17:13:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59846#p59846</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59846#p59846"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59846#p59846"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>foreach u [userlist] {   foreach h [getuser $u hosts] {lappend ul [list $h $u]}}foreach {h u} [eval concat [lsort -index 0 $ul]] {lappend ua($h) $u}foreach {h u} [array get ua] {   if {[llength $u] &gt; 1} {putlog "$h: [join $u]"}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jan 28, 2006 5:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tipi]]></name></author>
		<updated>2006-01-28T13:00:57-04:00</updated>

		<published>2006-01-28T13:00:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59836#p59836</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59836#p59836"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59836#p59836"><![CDATA[
no, I run a few large channels, some of the botmasters have not been as good checking before they add to the bot userlist as they should be.<br><br>we have numerous duplicate handles, where the user's main nick and his alt nick have both been added as handles in the userlist, with the same hostmask<br><br>I'm looking for an easy way to find those duplicate entry's<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7103">Tipi</a> — Sat Jan 28, 2006 1:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CtrlAltDel]]></name></author>
		<updated>2006-01-27T20:15:42-04:00</updated>

		<published>2006-01-27T20:15:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59804#p59804</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59804#p59804"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59804#p59804"><![CDATA[
Do you mean <a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-clone.htm" class="postlink">Clone</a> detection scripts?<br><br>Here I go again with yet another of those "bogus" links ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5006">CtrlAltDel</a> — Fri Jan 27, 2006 8:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tipi]]></name></author>
		<updated>2006-01-27T13:32:14-04:00</updated>

		<published>2006-01-27T13:32:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59791#p59791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59791#p59791"/>
		<title type="html"><![CDATA[tcl to find dup hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59791#p59791"><![CDATA[
Is anyone aware of a tcl that will find dup hosts that are entered under mutiple handles?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7103">Tipi</a> — Fri Jan 27, 2006 1:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
