How to print You have new private message, You have no new messages I'm using Privatemsg module and I want to print simple "You have new message" and "You have no new messages" for given user how to do that?
The module automatically does that when a user logs in who has the message waiting.  It DOES NOT print you have no new messages - because that is redundant.  It did it that way when we use it on our site - Drupal 6 - have not enabled and used it however yet on Drupal 7