Alright guys I'm lost at how to add an ifop part of this.

I love how the script works, I just don't want it effecting the ops in the channel.

Code:
 on @*:text:*:%clanchan:{

  if (%flood. [ $+ [ $chan ] $+ ] . [ $+ [ $nick ] ] == $null) {

    set -u8 %flood. $+ $chan $+ . $+ $nick 0

  }

  inc %flood. $+ $chan $+ . $+ $nick 

  if (%flood. [ $+ [ $chan ] $+ ] . [ $+ [ $nick ] ] >= 5) {

    mode $chan -v $nick | mode $chan +b $nick | .timer 1 60 /mode $chan +v $nick | .timer 1 40 /mode $chan -b $nick | .notice $nick %color1 You have been devoiced for 60 seconds due to flooding. %color2 | .msg $chan %color1 Remember not to spam or you'll end up like $nick %color2 | unset %flood.nick

  }
}
 


Thanks