Sheriff Gary Aitken told 18-year-old: "You could have been facing a jail sentence of double figures for culpable homicide or worse."
Inverness Sheriff Court saw a huge mix of criminal business in February.
One member of the group ended up buried waist deep in snow
A Nairn teenager allowed himself to get involved in an early morning fight in the town centre with some other youths, a court has heard.
An inexperienced driver was caught out by a pool of water on a dual carriageway stretch of the A9, spun his car and hit a tree, a court has heard.
Andrew Newton told judges that Sheriff Ian Cruickshank made “misdirections” to the jury that could have resulted in him being wrongly convicted.
A 23-year-old woman took exception to another customer when they were both leaving a Nairn shop at the same time.
She was swearing at them and "shouting incoherently" while police tried to assist her.
Police officers conducting a welfare check on an Inverness woman stumbled upon a drug dealing den in Culloden.
Police were concerned about an unresponsive man who was heavily intoxicated and slumped on the ground in Inverness city centre.
A drunk man threatened to throw a bottle of beer at a Nairn supermarket sales assistant after she refused to sell him the alcohol.
A fall-out between neighbours over the playing of loud music early in the morning landed one of them in trouble with the law.
The man harboured an absconder from a children's care unit.
Members of the public in an Inverness city centre street were alarmed when they saw a man with what looked like a black handgun.
A former cop who hurled abuse at his neighbour and threatened her brother while armed with a knife has to carry out 120 hours of unpaid work.
A police officer and an ambulance worker were assaulted.
Farmfoods, Charleston Post Office, Taste of China and Go Outdoors were targeted.
Police tracked the man down, along with another who admitted possession of drugs.
Victim was punched in the face twice.
He also pleaded guilty to having no insurance.