Hi,

First of all, it would help to see what the adjustments are, because that would guide what kind of solution I would come up with. For example, looking at the posted script, it always uses /server -m, so it would created 15 connections in status windows #2 through #16. If that's what you're doing, then status window #1 is never used, and server -m is performed 15 times where $scon(0) tells how many connections are already open. If that's the case, you can have a variable containing 15 nicks, then instead of the %nick being created randomly, it would be created something like:

var %nick $gettok(%list_of_nicks,$scon(0),32)

If it's sufficient to change to the specific nick AFTER connecting to the server using a random nick, you can use either $scon(-1) in the newest beta, or use the 'con' alias in this thread:

https://forums.mirc.com/ubbthreads.php/topics/271303/con-or-scon-1

Either $con or $scon(-1) would return a number telling you that it's connecting in the 3rd, 6th, etc connection window. You could then do something like:

ON *:CONNECT:{
if ($network == NetworkString) nick $gettok(%list_of_nicks,$con,32)
}