I tryied but I couln't put it to play....
I was hoping to make it play a little sound on every message received, much like some other clients....But I hear nothing.....tryed diferent sounds, diferent status.... Nothing.... I don't know....
oh, I'm using a single slash in the name, like the Scripting documentation said:
quote:
SoundFile
[string] Path to the sound file to play. The path is relative to the script's directory by default, to override this behavior, prefix the path with "\". Example: "\C:\directory\sound.mp3". If this string is empty, the current sound playing is stopped and the function returns.
so this is my code
code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind, sNewMessage){
MsgPlus.PlaySound("\C:\Programas\MSN Messenger\nudge.wma");
}
I also tryed a WAVE file.... it's the same....