quote:
Originally posted by -!Felu!-
Here's the code
code:
function OnEvent_MyStatusChange(NewStatus)
{
if (NewStatus == "4")
{
var Contacts = Messenger.MyContacts;
var Contact = Contacts.GetContact("smarterchild@hotmail.com");
if (Contact.Blocked == false)
{
Contact.Blocked = true;
}
MsgPlus.DisplayToast("Sander", "Sander heeft je geblokkeerd." ," C:\Program Files\MSN Messenger\online.wma");
}
}
quote:
Originally posted by Eljay
- Sound file names need to be escaped properly (e.g. "C:\\blah.txt" instead of "C:\blah.txt")
and anyway, as people have already said .wma isnt supported
edit: filenames also need a \ before them if theyre not in the currents script's directory