I'm messing up something because it's still not working. I've tried the relative and absoloute things but still fails :\
Here's the whole thing, I must be doing something wrong.
code:
var word = new Array(
"!wake",
"!wakeup",
"!wakewake"
);
var re = RegExp("\b"+word.join("\b|\b")+"\b","i");
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind){
if(Origin != Messenger.MyName && re.test(Message)){
MsgPlus.PlaySound("\C:\\Program Files\\Messenger Plus! Live\\Scripts\\Wakealert\\wakeupfaggot.mp3");
}
}