If you ever do that again, I am going to let our teacher know about it!
If you dare to do that again, you can be sure that our teacher will hear about it!
ご質問ありがとうございます。
① "If you ever do that again,"=「もし君がそのようなことをまたしたら」
"I am going to let our teacher know about it!"=「先生にそのことを伝えるから!」
② "If you dare to do that again,"=「もし君があえてそれをまたしたら」
"you can be sure that our teacher will hear about it!"=「先生の耳にそれが入ることは確かだ!」
☆①よりも②の方が、皮肉と怒りが強い文章になっています。
ご参考に。