Here's my script
#Follow off
raw 319:*: { set %massjoin.string $sorttok($3-,32,c) | halt }
#Follow end
alias follow {
enable #Follow
whois $1
disable #Follow
set %massjoin.current 1
while (%massjoin.current <= $numtok(%massjoin.string,32)) {
set %massjoin.chan $gettok(%massjoin.string,%massjoin.current,32)
while ($left(%massjoin.chan,1) != $chr(35)) {
set %massjoin.chan $right(%massjoin.chan,$calc($len(%massjoin.chan) - 1))
}
join %massjoin.chan
inc %massjoin.current
}
unset %massjoin*
unset %massjoin.string
}
I have 2 problems with this script.
problem 1. Is there a way for mirc to make the script sleep for a minute after it does the whois, then resume. To allow it to set the variable?
problem 2. Is there any way of pausing the script for a second or 2 after it does the join %massjoin.chan so that i dont get flooded off and then resume.