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

	<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>2003-10-26T06:32:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-26T06:32:09-04:00</updated>

		<published>2003-10-26T06:32:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29004#p29004</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29004#p29004"/>
		<title type="html"><![CDATA[When the bot reaches 20 channels, it parts one? How? :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29004#p29004"><![CDATA[
To get the number of on how many channels the bot sits use <em class="text-italics">[llength [channels]]</em>. Then to get an random channel to be parted (make it +inactive and remove it when you want it back there) use something like: <em class="text-italics">set randchan [lindex [channels] [rand [llength [channels]]]]</em> and do your stuff with it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Oct 26, 2003 6:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tristam]]></name></author>
		<updated>2003-10-26T06:18:27-04:00</updated>

		<published>2003-10-26T06:18:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29001#p29001</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29001#p29001"/>
		<title type="html"><![CDATA[When the bot reaches 20 channels, it parts one? How? :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29001#p29001"><![CDATA[
Hello! I have to make a script which parts the bot from a specific channel when the bot has joined 20 channels, and makes it join the same channel again, when some other channel is parted.. But I have no idea where to start from <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Any ideas how to even check how many channels the bot is on, and write it into a variable for example?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3881">Tristam</a> — Sun Oct 26, 2003 6:18 am</p><hr />
]]></content>
	</entry>
	</feed>
