I fail to see your flood protection.
why have you got
if ($nick !== $me)
seems rather pointless, who queries themselves?
also why do they need to know how many query windows you have open?
this would have been better.
on *:OPEN:?:*:{ if ($away == $true) {
.halt
.msg $nick I am away, I'll respond when I can. [amsg]
}
elseif ($away == $false) {
.msg $nick I have been idle for $duration($idle) i'll respond when I return. [amsg]
}
}
Sorry but 1/10