Or you can make an array with Status names and Match it with Status code
.
code:
var Status = new Array("Unknown", "Offline", "Appear Offline", "Online", "Busy", "Be Right Back", "Idle", "Away", "In a Call", "Out to Lunch");
Status[Messenger.MyStatus];