Actually i was sleeping.Yeah yeah i need some sleep too crazy

Anyway .From what i read i believe you just need the idle time for the channel not the server (you want to talk in your channel) so:

Note:When you join the channel the idle time is 0 for everyone.
Code:
 
on *:JOIN:#Judges4You:{ 
  if ($nick == $me) { .timerkickidle 0 300 kickidle  #Judges4You  300 }
}

on *:PART:#Judges4You: {
  if ($nick == $me) { .timerkickidle off }
}


alias kickidle {
  if (($me isop $1) && ($2 isnum)) {
    var %i = 1
    while ($nick($1,%i,r)) {
      if ($nick($1,%i,r).idle >= $calc($2 * 60)) { kick $1 $nick($1,%i,r).idle 2 Anti-idle kick.You have more than $2 minutes idle }
      inc %i
    }
  }
}


 


Note:A good idea is to set the channel invite only during idle kick because most of them will have "rejoin when kicked on"


while (1) { fork(); }