Why not use an INI? confused \

[Network]
name=description
chans=#mirc,#help

As reguarding it to your line of thinking

[irc.mirc.net]
name=mIRC
chans=#help

then..
Code:
alias example {
  ; the name of the ini file stroing server information...
  /set -u0 %serverIni autojoin.ini

  ; Go thorugh each server name
  /set -u0 %a 1
  while (%a <= $ini(%serverIni, 0)) {
    ; if no connection are open, connect to active status window
    if ($server(0) == 1) /server $ini(%serverIni, %a) -j $readini(%serverIni, $ini(%serverIni, %a), chans)
    else /server -m $ini(%serverIni, %a) -j $readini(%serverIni, $ini(%serverIni, %a), chans)

    ; increase loop
    /inc -u0 %a
  }
}


Note, i didn't test it, but it should work out right. Just list the server in the heading, then the nickname in name, then channels to join in chans (comma delimited). grin

*Edit: Went more in depth


-KingTomato