code:
var keywords= new Array("Spunky","SLM","Shane");
function OnEvent_ChatWndReceiveMessage(ChatWnd, Message){
if(Origin!==Messenger.MyName){
for(var s in keywords){
if(Message.search(keywords[s])!==-1){
MsgPlus.DisplayToastContact("Nick Highlighter", "[c=#3682B4]Highlight[/c]",keywords[s] + " has been mentioned by " + MsgPlus.RemoveFormatCodes(Origin);
}
}
}
}
Should do the same thing, but more efficiently... Could probably be improved upon though. Also, you can add other words into the array apart from names such as words relating to certain topics