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

	<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-05-19T04:12:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Tom65789]]></name></author>
		<updated>2007-05-19T04:12:01-04:00</updated>

		<published>2007-05-19T04:12:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72833#p72833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72833#p72833"/>
		<title type="html"><![CDATA[Command to Add Channel over Botnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72833#p72833"><![CDATA[
but using channel add #channel makes the bot using the script join, and not one of the random leaf bots it selects. how do you make another bot on the botnet add that channel?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9006">Tom65789</a> — Sat May 19, 2007 4:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-05-18T20:14:41-04:00</updated>

		<published>2007-05-18T20:14:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72830#p72830</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72830#p72830"/>
		<title type="html"><![CDATA[Command to Add Channel over Botnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72830#p72830"><![CDATA[
<blockquote class="uncited"><div>Does this need to be in another script or can it be done from the same script which contains the !add #channel proc which selects the bot randomly using the code above which then after it randomly selects a bot tells the leafbot that was randomly selected to add that channel to its list.</div></blockquote>to answer the main question, you already had the command correct, <strong class="text-strong">channel add #blah</strong>, and no, it doesn't need to be a seperate script at all.  In fact, I think it would be a rather good idea to keep that procedure together with your 'main' tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Fri May 18, 2007 8:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tom65789]]></name></author>
		<updated>2007-05-18T18:37:55-04:00</updated>

		<published>2007-05-18T18:37:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72829#p72829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72829#p72829"/>
		<title type="html"><![CDATA[Command to Add Channel over Botnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72829#p72829"><![CDATA[
ok, i have one hub bot and 5 leafs. <br><br>On the hub i have a script which i want to be able to msg it something like !add #channel (this bit i have got) then it will randomly select one of the leaf bots to add that channel to the channel list of that leaf bot. (though i dont have the syntax/code which makes the bot that was selected to add that channel to its channel list)<br><br>Does this need to be in another script or can it be done from the same script which contains the !add #channel proc which selects the bot randomly using the code above which then after it randomly selects a bot tells the leafbot that was randomly selected to add that channel to its list.<br><br>Really hard to explain but im trying<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9006">Tom65789</a> — Fri May 18, 2007 6:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-05-18T18:31:23-04:00</updated>

		<published>2007-05-18T18:31:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72827#p72827</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72827#p72827"/>
		<title type="html"><![CDATA[Command to Add Channel over Botnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72827#p72827"><![CDATA[
maybe i am unclear what exactly you are trying to do...have the leaf get a random channel from the hub then join it?  I don't understand why you would want to do this via tcl, instead of using the share module...could you be more specific in what it is you wanna accomplish, please?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Fri May 18, 2007 6:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tom65789]]></name></author>
		<updated>2007-05-18T16:57:02-04:00</updated>

		<published>2007-05-18T16:57:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72825#p72825</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72825#p72825"/>
		<title type="html"><![CDATA[Command to Add Channel over Botnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72825#p72825"><![CDATA[
hi, just wondering what the syntax was or how you make a random bot add a channel to its list from a hub bot because in one of my scripts i have:<br><div class="codebox"><p>Code: </p><pre><code>set bot [lindex [bots] [rand [llength [bots]]]]</code></pre></div>But not sure where to go from here and how to do the equivalent of the following on a normal bot<br><div class="codebox"><p>Code: </p><pre><code>channel add #chan</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9006">Tom65789</a> — Fri May 18, 2007 4:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
