Mass Invite
Platform: mIRC
Published Sep 06, 2009
Updated Sep 08, 2009
Looking over the snippet section i didn't find a decent mass invite script. I've been out of scripting for quite some time, so here is my take on it.
Usage: /minvite #from #to
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
}
}
}