Welcome to the forum!
code:
var word = new Array(
"your",
"words",
"here"
);
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind){
if(Origin != Messenger.MyName){
for(i=0;i<word.length;i++){
if(Message.search(word[i]) != -1){
MsgPlus.PlaySound("path\\to\\sound\\file");
}
}
}
}
i'm not sure if that will work but you can try.
btw, for a single backslash (
\ ) you have to put two. so
\\
will result in a single backslash