All pastes #2131270 Raw Edit

Untitled

public text v1 · immutable
#2131270 ·published 2012-03-23 02:53 UTC
rendered paste body

alias minvite {
  if (!$1) || (!$2) { 
    echo -a * /minvite Insufficient Parameters, Correct Syntax: /minvite #from #to
  }
  elseif ($me !ison $1) || ($me !ison $2) { 
    echo -a * /minvite ERROR You need to be in the specified channels
  }
  else {
    var %x 1 | while (%x <= $nick($1,0)) { var %n $addtok(%n,$nick($1,%x),46)) | inc %x
    }
    echo -a * /minvite Mass inviting commencing
    part $1
    var %z 1 | while (%z <= $numtok(%n,46)) {
      .timer $+ %z 1 %z invite $nick($1,%z) $2 | inc %z
    }
  }
}