For mass set the mode +v (voice) on channel with a delay of 5 seconds, try using this code:
Code
alias vall {
  if ($me !isop $active) { echo -a Your nickname must have an @ status on the channel $active | return }
  var %users $nick($active,0,r) | var %i 1 | while (%i <= %users) {
    var %user $nick($active,%i,r)
    if (%user != $me) { var %nm = %nm %user }
    if ($numtok(%nm,32) == $modespl) { $timerdelay mode $active $+(+,$str(v,$modespl)) %nm | unset %nm }
    inc %i
  }
  if (%nm) { $timerdelay mode $active $+(+,$str(v,$numtok(%nm,32))) %nm }
  if ($var(%va_sec)) { unset %va_sec }
}
alias -l timerdelay { if (!%va_sec) { set %va_sec 0 } | else { set %va_sec 5 } | return .timerVALL $+ $ticks 1 %va_sec }

To check, enter the command: /vall

Note: Your nickname must have an @ status on the channel.


🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples