Originally Posted By: Riamus2
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.


This script only kicks normal users (not voice or op)?

And im in a channel with not a lot of people.

EDIT: Tested the script but when i login als normal user then i dont get kicked i restarted my MIRC so i gonna check now again


And this one:
Code:
on *:join:#yourchannelhere: {
.timer $+ $nick 1 5 checkuser $chan $nick
}
alias checkuser { if (($2 !isop $1) && ($2 !isvoice $1) && ($2 ison $1)) kick $1 $2 kickreason }


Does that kick also OP because he checks it?

Last edited by vinnie19; 10/01/08 03:21 PM.