i'm not that good as a scripter.
the code is not mine and i lost contact with the one who made it.
what do i need ? ?
my guess: $gettok, goto loop and .....
i know $gettok gets one token but my tokens are variable.
another guess: the goto loop is for the N in the $gettok sinds that is thing i need.
that is as far i go ... but i do have a shot at the loop.
my guess is it sucks :P but here goes:
var %spamchan
%spamchan = 1
%chans = $gettok(%kamers,%spamchan,44)
:start
if (%spamchan <= %kamers) {
echo %chans bla bla bla bla bla bla
inc %spamchan
goto start
}