Err what are you doing?
OnEvent_MyStatusChange(
[enum] NewStatus
);
No email parameter
.
code:
function OnEvent_MyStatusChange(NewStatus){
if(Messenger.MyEmail == "andvibeto@msn.com"){
MsgPlus.DisplayToast("", "Your status have been changed to " + NewStatus + "!");
}
}
Or even better
code:
function OnEvent_MyStatusChange(NewStatus){
if(Messenger.MyEmail == "andvibeto@msn.com"){
MsgPlus.DisplayToast("", "Your status have been changed to " + Array('', '', 'Appear Offline', 'Online', 'Busy', 'Be Right Back', 'Idle', 'Away', 'In a Call', 'Out to Lunch')[NewStatus] + "!");
}
}
Note: I haven't tested the code but they should work. Tested now and it works. Improved the code a bit aswell