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

	<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>2007-11-02T22:06:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-02T22:06:04-04:00</updated>

		<published>2007-11-02T22:06:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77410#p77410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77410#p77410"/>
		<title type="html"><![CDATA[Admin script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77410#p77410"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind dcc n part part_chanproc part_chan {hand idx text} {        set text [split $text]        if {([botonchan $text]) &amp;&amp; ([validchan $text])} {                channel set $text +inactive                putcmdlog "Bot setting channel +inactive and leaving $text by $hand 's command."        } else {                putdcc $idx "I'm not ON channel $text"                return        }}bind dcc n join join_chanproc join_chan {hand idx text} {        set text [split $text]        if {(![botonchan $text]) &amp;&amp; ([validchan $text])} {                channel set $text -inactive                putcmdlog "Bot setting channel -inactive and rejoining $text by $hand 's command."        } else {                putdcc $idx "That's not a valid channel..."                return        }}</code></pre></div>Note that the channels have to already exist in the bot's channel file for the above to work. It wouldn't be that much harder to make the script add the channels if you want it to join new ones. Check the eggdrop docs for how to add new channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Fri Nov 02, 2007 10:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[elite23q]]></name></author>
		<updated>2007-11-02T18:56:58-04:00</updated>

		<published>2007-11-02T18:56:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77406#p77406</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77406#p77406"/>
		<title type="html"><![CDATA[Admin script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77406#p77406"><![CDATA[
I simply want a script that does the following<br><br><br>Joins channels when in #X by typing .join #channel<br>Parts channels when in #X by typing .part #channel<br><br>Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9425">elite23q</a> — Fri Nov 02, 2007 6:56 pm</p><hr />
]]></content>
	</entry>
	</feed>
