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

	<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>2004-09-09T19:36:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-09-09T19:36:40-04:00</updated>

		<published>2004-09-09T19:36:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40769#p40769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40769#p40769"/>
		<title type="html"><![CDATA[Re: botrequest and adding botlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40769#p40769"><![CDATA[
<blockquote class="uncited"><div>i have a add command where ppl can see what bots i have for usage<br><br>botrequest script i was wondering if i could use same file <br># bot nicknames you wanna give out<br>set botnicks "botname here"<br><br># File is the place where the data will be save add for botlist<br>set botlistfile "/home/user/bot/listbots.txt<br><br>i tryed using to use it from there but it wont work. how can i get the botnicknames to read from a txt instead of editing the config all the time. whenever i make a new bot</div></blockquote>retrieving a item from a <em class="text-italics">list</em> is simple enough to do (read all about the <em class="text-italics">list</em> command <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/list.htm" class="postlink">here</a>), although to perform this event, it would probably be more efficient to write a new procedure using <strong class="text-strong">bind bot</strong> instead.<br>So, with that said, if you still wish to continue to make/develop this tcl, you might wanna check your list syntax...such as:<div class="codebox"><p>Code: </p><pre><code>set botlist "bot1 bot2 bot3"set botlistfile "listbots.dat"</code></pre></div>.  MC_8 has an <span style="text-decoration:underline">excellent</span> public commands tcl that could be altered quite easily to accomodate this, and just about any other, command.  read all about it <a href="http://mc.purehype.net/index.tcl?info=Public+Commands" class="postlink">here</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Thu Sep 09, 2004 7:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LiquidIce]]></name></author>
		<updated>2004-09-09T15:41:59-04:00</updated>

		<published>2004-09-09T15:41:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40757#p40757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40757#p40757"/>
		<title type="html"><![CDATA[botrequest and adding botlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40757#p40757"><![CDATA[
i have a add command where ppl can see what bots i have for usage<br><br>botrequest script i was wondering if i could use same file <br># bot nicknames you wanna give out<br>set botnicks "botname here"<br><br><br># File is the place where the data will be save add for botlist<br><br>set botlistfile "/home/user/bot/listbots.txt<br><br>i tryed using to use it from there but it wont work. how can i get the botnicknames to read from a txt instead of editing the config all the time. whenever i make a new bot<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4380">LiquidIce</a> — Thu Sep 09, 2004 3:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
