Code:
on @*:text:*:#: {
  if ($nick isop #) return 
  var %rp.repeats = rp. $+ $nick $+ . $+ $chan
  var %rp.text = rp. $+ $nick $+ . $+ $chan $+ .text
  if (!% [ $+ [ %rp.repeats ] ]) {
    set -u [ $+ [ 10 ] ] % [ $+ [ %rp.repeats ] ] 1
    set -u [ $+ [ 10 ] ] % [ $+ [ %rp.text ] ] $1-
  }
  elseif (% [ $+ [ %rp.text ] ] == $1-) {
    inc % [ $+ [ %rp.repeats ] ]
  }
  else {
    set -u [ $+ [ 10 ] ] % [ $+ [ %rp.text ] ] $1-
    set -u [ $+ [ 10 ] ] % [ $+ [ %rp.repeats ] ] 1
  }
  if (% [ $+ [ %rp.repeats ] ] >= 3) {
    if (o isin $usermode) kill $nick ...
    unset % [ $+ [ %rp.repeats ] ]
    unset % [ $+ [ %rp.text ] ]
  }
} 


I just modified a repeat kicker I found. Changing the ban command to kill, with a simple IF statement to check whether or not you're opered up before using the /kill command.