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

	<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>2005-07-13T15:16:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-13T15:16:38-04:00</updated>

		<published>2005-07-13T15:16:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52421#p52421</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52421#p52421"/>
		<title type="html"><![CDATA[problems with set]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52421#p52421"><![CDATA[
then you need 2 lists, keeping the channels those nicks are on, and finding the intersection (common elements) of the two:<div class="codebox"><p>Code: </p><pre><code>foreach chan $chans($nick1) {   if {[lsearch -exact $chans($nick2) $chan] != -1} {      lappend comchans $chan   }}# now you have a list of common channels in comchans</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Jul 13, 2005 3:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-07-13T14:59:59-04:00</updated>

		<published>2005-07-13T14:59:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52418#p52418</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52418#p52418"/>
		<title type="html"><![CDATA[problems with set]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52418#p52418"><![CDATA[
hello,<br><br>But  i have   <div class="codebox"><p>Code: </p><pre><code>set chan($nick) [lindex [split $arg :] 1]</code></pre></div> <br> who's the list of the chans where is $nick.<br><br>And I want to write the chans that 2 nicks have in common??<br><br>I want to compare for example:  $chan(tom) and $chan(jim). how to make??<br><br>thanks.<br><br>PS: sorry for my bad English.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Wed Jul 13, 2005 2:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-13T11:31:52-04:00</updated>

		<published>2005-07-13T11:31:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52404#p52404</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52404#p52404"/>
		<title type="html"><![CDATA[problems with set]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52404#p52404"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {$bibo($color1) &gt; $bibo($color2)} {   # the first array element is greater than the second, do something} else {   # it's less or equal, do something else}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Jul 13, 2005 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-07-13T09:10:18-04:00</updated>

		<published>2005-07-13T09:10:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52399#p52399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52399#p52399"/>
		<title type="html"><![CDATA[problems with set]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52399#p52399"><![CDATA[
hello,<br>i have <div class="codebox"><p>Code: </p><pre><code>set bibo($color1)set bibo($color2)</code></pre></div>And I don't know how to compare the contents of these 2 variables and to write the elements who are in the 2.<br>if you could guide me in this demarche.<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Wed Jul 13, 2005 9:10 am</p><hr />
]]></content>
	</entry>
	</feed>
