egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

creating server list for sbnc

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer Help
View previous topic :: View next topic  
Author Message
Kraka
Voice


Joined: 21 Apr 2005
Posts: 19

PostPosted: Tue Oct 21, 2008 7:27 pm    Post subject: creating server list for sbnc Reply with quote

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:
[19:17:42] <-sBNC> Scheduled reconnect in 2 seconds.
[19:17:44] <-sBNC> Trying to reconnect to underworld.no.quakenet.org 6667:6667
[19:17:44] <-sBNC> Trying to reconnect to underworld.no.quakenet.org 6667:6667

and this is the code that i was using...but am looking sor something a little better

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]]]}
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber