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
}
}