quote:
Originally posted by ThunderStorm
I have the same problem.
Here my script:
code:
function OnEvent_MyStatusChange(Stat) {
if(Stat == 2) {
//Appear Offline -
Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\offline.jpg";
} else if(Stat == 3) {
//Online -
Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\online.jpg";
} else if(Stat == 4) {
//Busy -
Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\busy.jpg";
} else if(Stat == 5) {
//Be Right Back -
Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\brb.jpg";
} else if(Stat == 6) {
//Idle -
Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\idle.jpg";
} else if(Stat == 7) {
//Away -
Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\away.jpg";
} else if(Stat == 8) {
//In a Call -
Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\onphone.jpg";
} else if(Stat == 9) {
//Out to Lunch -
Messenger.MyDisplayPicture = "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\DP\lunch.jpg";
}
}
You should replace the "C:\\Program Files\Messenger Plus! Live\Scripts\StatusDP\" with MsgPlus.ScriptFilesPath and all the \ should be \\