James Moody, 38, was ordered to do 80 hours of unpaid community work when he appeared at Hamilton Sheriff Court this week.