A Dunmurry man with 173 convictions has been warned by a judge he will go to prison if he does not stay out of trouble.