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

	<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-06-08T10:01:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DaRkOoO]]></name></author>
		<updated>2009-06-08T10:01:09-04:00</updated>

		<published>2009-06-08T10:01:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89129#p89129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89129#p89129"/>
		<title type="html"><![CDATA[Common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89129#p89129"><![CDATA[
Thanks,that script is doing its job very good =)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10236">DaRkOoO</a> — Mon Jun 08, 2009 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-06-07T17:10:57-04:00</updated>

		<published>2009-06-07T17:10:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89115#p89115</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89115#p89115"/>
		<title type="html"><![CDATA[Common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89115#p89115"><![CDATA[
Wow, there is no need to issue a whois to do this, nor is reading raw replies even necessary. Not to mention the huge flaw in that script's display. It won't display them all on one line as the poster suggested.<br>It has the putserv done incorrectly, for some reason it is within the foreach. This means it will spam so much it's likely if the poster's bot  and the nickname share enough common channels the bot will be killed for issuing an excess text flood.<br><br>Just use the small script below and remember on partyline to .chanset #yourchan +common after you source it. This will work exactly as the poster has requested.<div class="codebox"><p>Code: </p><pre><code>setudef flag commonbind pub - .common check:commonproc check:common {nick uhost hand chan text} {   if {![channel get $chan common]} { return }   if {![string length [set n [lindex [split $text] 0]]]} {     puthelp "Usage: .common &lt;nick&gt; - please supply nickname ;P"     return   }   foreach c [channels] {      if {[onchan $n $c]} { lappend common $c }   }   if {[info exists common]} {      puthelp "privmsg $chan :My common channels with $n are: [join $common ", "]."   } else {      puthelp "privmsg $chan :I share no common channels with $n."   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Jun 07, 2009 5:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BLaCkShaDoW]]></name></author>
		<updated>2009-06-07T14:13:37-04:00</updated>

		<published>2009-06-07T14:13:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89114#p89114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89114#p89114"/>
		<title type="html"><![CDATA[Common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89114#p89114"><![CDATA[
Try it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><a href="http://tclscripts.net/common.tcl" class="postlink">http://tclscripts.net/common.tcl</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10416">BLaCkShaDoW</a> — Sun Jun 07, 2009 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DaRkOoO]]></name></author>
		<updated>2009-06-07T09:42:26-04:00</updated>

		<published>2009-06-07T09:42:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89108#p89108</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89108#p89108"/>
		<title type="html"><![CDATA[Common channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89108#p89108"><![CDATA[
Hi all,<br><br>I need script which will make my bot to say common channels with some other nick.Should work like .common &lt;nick&gt;<br>Bot:My common channels with &lt;nick&gt; are: #chan1 #chan2 etc..<br><br>Regards,<br>Darko.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10236">DaRkOoO</a> — Sun Jun 07, 2009 9:42 am</p><hr />
]]></content>
	</entry>
	</feed>
