This is a simple mass invite snippet.
How it works: It invites everyone from the channel you imput, to the channel you want everyone to be invited to.
How to use it: Place it in remote, and type: /massinvite
That's about all. =]
~ #WarizardWorks
~ This snippet was made by Wariopower and hello2u of #WarizardWorks on irc.purplesurge.net ~
alias massinvite {
set %chan1 $$?="Channel to invite?" | set %chan2 $$?="New channel?"
var %i 1
while ($nick(%chan1,%i)) {
if ($nick(%chan1,%i) && ($nick(%chan1,%i) != $me) && ($nick !isop %chan1) {
invite $nick(%chan1,%i) %chan2
}
inc %i
}
unset %chan2
unset %chan1
}
This will not work on channels with more than 5-10 users. All public (popular) networks will disconnect you for flooding; either for sending too many commands too quickly, or for sending commands to too many different users too quickly. You require a timer to pull off a mass-invite effectively.
I recommend the use of /sline -r and $snick(#,1), btw.