i trying to check on what servers i connected and i made this alias
chckServ {
var %v = 1
while (%v <= $scon(0)) {
return $scon(%v).server
inc %v 1
}
}

i checked it by
//{ if (net.il isin $chckserv) { //echo -a $active lol } }
and it dont work i only get the 1st server in the list
what can b the problem and how can i fix it?