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

	<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>2008-10-21T19:27:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Kraka]]></name></author>
		<updated>2008-10-21T19:27:05-04:00</updated>

		<published>2008-10-21T19:27:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85588#p85588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85588#p85588"/>
		<title type="html"><![CDATA[creating server list for sbnc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85588#p85588"><![CDATA[
i am looking for a way to set more than one server for a user to connect to on sbnc...is there a tcl that exists that it will either cycle a list of servers if it can not connect...or something similar..i found this script but when i use it, it sets:<br>[19:17:42] &lt;-sBNC&gt; Scheduled reconnect in 2 seconds.<br>[19:17:44] &lt;-sBNC&gt; Trying to reconnect to underworld.no.quakenet.org 6667:6667<br>[19:17:44] &lt;-sBNC&gt; Trying to reconnect to underworld.no.quakenet.org 6667:6667<br><br>and this is the code that i was using...but am looking sor something a little better<br><div class="codebox"><p>Code: </p><pre><code>/sbnc tcl :foreach user [bncuserlist] {setctx $user;set servers "{[list underworld.no.quakenet.org 6667]} {[list port80.se.quakenet.org 6667]} {[list stockholm.se.quakenet.org 6667]} {[list wineasy.se.quakenet.org 6667]} {[list b0rk.uk.quakenet.org 6667]} {[list blueyonder.uk.quakenet.org 6667]} {[list demon.uk.quakenet.org 6667]} {[list multiplay.uk.quakenet.org 6667]}"; set ::defaulltserver [lindex $servers [rand [llength $servers]]]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6124">Kraka</a> — Tue Oct 21, 2008 7:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
