A 17-YEAR-OLD high school student received a valuable lesson from Rockhampton Magistrate Barry Cosgrove.
"Ever heard the saying 'sticks and stones may break my bones but names will never hurt me'?" he asked.
"You reacted, now you're the one in trouble. You have to be bigger than that."
The Mount Morgan girl pleaded guilty in court to assaulting a 15-year-old girl just outside school grounds on July 24.
Police prosecutor Senior Constable Shaun Janes said the defendant saw the victim walking beneath a bridge just near the school's boundary.
Snr Const Janes told the court a witness urged the defendant to leave the victim alone.
She didn't listen and jumped the school fence.
The defendant confronted the victim, who tried to walk away.
She then punched her twice in the face.
The victim did not fight back and suffered bruising and swelling.
The defendant went back to school after the attack.
Solicitor Peter Sorensen said the victim had posted derogatory comments about his client's deceased father on Facebook. He said the family were now moving away from the region.
Mr Cosgrove urged the girl to ignore the mean comments of others.
"Think before you act," he said.
He sentenced her to 12 months probation. No conviction was recorded.