Troll, this is how you parse all the nicknames in the channel in a dialog using the didtok command. I wouldn't go for the while loop route like venom suggested, since the didtok is available at your disposal. Why waste it, right? Here is a simple test dialog for your reference:
dialog test {
title "Testing..."
size -1 -1 85 16
option dbu
text "Roomies:", 3, 2 3 25 8, right
combo 4, 28 3 53 100, size drop
}
on *:dialog:test:init:0:{
while ($nick($iif($active ischan,$v1),$0)) {
tokenize 32 $1- $v1
}
didtok $dname 4 32 $2-
}
alias roomies {
dialog $iif($dialog(test),-v,-md test) test
}
Enter the command: /roomies
And then select the drop-down box to see all the nicknames in the room where you're on. This is for testing purposes only, nothing more.