Just another mass invite script I wrote.
Command: /massinvite
Version: 1.2
Author: XTZGZoReX
Usage: /massinvite #channel #tochannel
Notes: This one actually got error handlers. I don't think there are much to say here, since its usage is pretty straightforward.
Enjoy!
alias massinvite {
if ( !$1 ) {
echo -a * /massinvite: insufficient parameters
halt
}
if ( !$2 ) {
echo -a * /massinvite: insufficient parameters
halt
}
set %nicks 1
while ( %nicks <= $nick($1,0) ) {
invite $nick($1,%nicks) $2
inc %nicks
}
unset %nicks
halt
}