Jethro commented on a Page, Insult Dialog  -  Sep 01, 2011

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.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.