Originally Posted By: starpossen
Sorry for 'bumping' this old topic.

Is it possible to use this as, you select whom you want to voice
in the nicklist, and then make a rightclick menu saying ie. mv selected ?
Code:
menu nicklist {
  $iif($me isop $active,Mass Voice) {
    var %x = $snick($active,0), %y = $active
    while (%x) { 
      var %r = %r $snick(%y,%x)
      if ($numtok(%r,32) = $modespl) { 
        mode %y + $+ $str(v,$modespl) %r
      } 
      dec %x
    }
    if (%r) { mode %y + $+ $str(v,$numtok(%r,32)) %r }
  }
}
You highlight and select the nicks you want to voice from the nicklist first, then right click to the popup menu, and tick "mass voice" to voice all of them.