if you want to invite all the nick of the list you should do something like:
alias invitenick {
var %count 1
while ($gettok(%invitelist,%count,%tokchar)) {
invite $ifmatch #yourchannel
inc %count
}
}
where %tokchar is the ascii of the char that you choose, for example if the %invitelist is nick1,nick2,nick3 you should use
$gettok(%invitelist,%count,44)
i didn't try the code, see if it works