Here...

Code:
on @*:join:#yourchannel: {
  .timerKickRegs 1 5 KickRegs $chan
}
alias KickRegs {
  var %t = $nick($chan,0,r)
  while (%t) {
    kick $1 $nick($1,1,r)
    dec %t
  }
}


Just don't run it in a channel where there are a LOT of Regular users (not voiced/opped/etc) or you'll probably flood yourself off from kicking too many at once. If necessary, you can also throw a dynamic timer on the kick to avoid the problem, but based on what I think you're doing, it probably won't matter.