on *:TEXT:.apply*:#squadbots:{
join $2
if ($2 isin %blist) { halt }
else {
set %2 $2
set %nick $nick
timerjoin 1 1 join $2
timermsg 1 3 idlers
timermsg 1 5 idlercount
timerpart 1 7 part $2 Your app has been checked.
}
}
alias idlers {
msg #squadbots %nick wants a bot. Channel: %2 $+ . Idlers 7(1( $+ $calc($nick(%2,0)-1) $+ 1)7)1 (My self and chanserv do not count.)
}
alias idlercount {
if (%idlercount >= 8) {
msg %2 The idling requirement has been met. Your channel has been accepted.
}
if (%idlercount <= 8) {
msg %2 The idling requirement has not been met. Your channel has been denied.
}
}