A young man has been given a suspended sentence for sending a text message that led to a high school lockdown in Mount Pearl last spring. 

nl-squibb-rodney-20130508

Rodney Squibb is seen during a court appearance after his arrest in May 2013. (CBC)

Rodney Squibb, 19, told police that he was joking when he sent a text last May saying he would take a gun to O'Donel High School. 

The Royal Newfoundland Constabulary did not find the move amusing, though, and neither did Judge David Orr, who criticized Squibb on Tuesday for a "thoughtless" action that created anxiety for students, staff and parents. 

Orr put Squibb on 12 months' probation during a hearing Tuesday at provincial court in St. John's. 

Squibb also was charged with breaking court orders. 

He was sentenced to two months in jail on those charges. With time he's already served, he has nine days left in that sentence.