ok, now i have gotten a start for this atleast, but i'm trying to make a system for picking a nick on the guesses, so there is one winner.
i'm sure i'm doing something wrong, but i can't find the error here, since i get insufficient parameters on the while ($ini...) part :S


Code:
alias roll {
if ($1) {
  var %r = 1
  while ($ini(legendarytest.ini,$1,%r)){
%random
echo -a $readini(legendaryfun.ini,$1,$v1))
}
}
}


Sorry for asking so many questions, trying my best to learn by trial and error and read up on how to do it, but it's not easy when i haven't been doing mIRC scripting.
So Thank you for your patience and help =)