on *:join:#:{ enable #whois set %whoisnick $nick set %whosichan $chan whois $nick } #whois off raw 319:*:{ if (%whoisnick ison #CHANNEL) || (%whoisnick ison #CHANNEL) { ban -ku600 %whoischan %whoisnick 2 you on on the channels: $3- $+ , Some of them may be banned from this channel disable #whoi } else disable #whois } #whois end