Code:
on *:JOIN:#:{
  if (%join [ $+ [ $nick ] ] == $null) { 
    set -u10 %join [ $+ [ $nick ] ] 1
  }
  else {
    inc %join [ $+ [ $nick ] ]
  }
  if (%join [ $+ [ $nick ] ] >= 3) {
    if ($me isop #) { 
      kick $chan $nick Join Flood Protection 
      unset %join [ $+ [ $nick ] ] 
    }
    unset %join [ $+ [ $nick ] ] 
  }
}


This script kicks peopel who join 3 times in 10 seconds. But it's set to every channel, so if I join #chan1, #chan2 and #chan3 (all three in 10 seconds, lets say I'm using perform) it'll kick me in #chan3 (last joined, where %joinMYNAME is set to 3)

I'd like it to kick people who join 3 times in 10 seconds PER chan and not overall.

Any help?

Last edited by DuXxXieJ; 09/06/11 03:53 PM.

Squee whenever a squee squee's. Squee whenever a squee does not squee.