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

	<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>2010-07-11T04:32:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2010-07-11T04:32:01-04:00</updated>

		<published>2010-07-11T04:32:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93507#p93507</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93507#p93507"/>
		<title type="html"><![CDATA[random server on connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93507#p93507"><![CDATA[
I need a code so that the eggdrop will pick a randommmm server to connect.<br><br>I tryed to make a $randomserver variable but it didnt read it. I made it like this:<br><div class="codebox"><p>Code: </p><pre><code>set list_server {"server 1""server 2"}set randomserver [lindex $list_server [rand [llength $list_server]]]</code></pre></div>and then in the:<div class="codebox"><p>Code: </p><pre><code>set nb_servers {$::randomserver}</code></pre></div>[/code]<br><br>NOTE: I am using netbots.tcl<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sun Jul 11, 2010 4:32 am</p><hr />
]]></content>
	</entry>
	</feed>
