greetings folks,

i have been using this alias for mass voicing with works fine except on some ircds dont allow mass voicing so i wonder how to add a delay of like 5 seconds between the voices in this alias

Code

alias vall {
  if ($nick(#,$me,!@%&~)  || o isin $usermode) {
    var %x = $nick(#,0,r) | while (%x) {
      if ($nick(#,%x,r) != $me && !$nick(#,$v1,!~&@%)) {  var %r = %r $nick(#,%x,r) }
      if ($numtok(%r,32) = $modespl) { mode # + $+ $str(v,$modespl) %r | unset %r }
      dec %x
    }
    if (%r) { mode # + $+ $str(v,$numtok(%r,32)) %r }
  }
}


thanks in advance.