Something like:

Code:
on *:input:#:{
  if ($left($1,1) !isin / $+ $readini($mircini,text,commandchar)) { 
    msg # $1-
    set %lastmsg $1-
  }
}
on *:notice:Your message was not sent because you are sending messages too quickly.:#:{
  if (%lastmsg != $null) {
    .timer 1 2 msg # $unsafe(%lastmsg)
    unset %lastmsg
  }
}