Basically I have this piece of code:

Code:
on *:TEXT:*[text]*:#:{
  if ($nick == [person]) {
    var %[person]current $wildtok($1-,*[text]*,0,32)
    inc %[person] %[person]current
  }
}

on *:text:![person]:#:{ 
  if ($chan == #teamdoge) { HALT }
  if ($($+(%,flood.,$nick),2)) { notice $nick Please do not spam the bot. | return }
  set -u10 %flood. $+ $nick On
  msg $chan [person] has said [text] %[person] times.
}


I basically want a way to add this piece of code every time i type a command. How do I do this without adding code to the .ini?