wlmcrap, reading the documentation can be useful - return the new value;
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if(Message == "!wmp")
{
ChatWnd.SendMessage("/run C:\\Program Files\\Windows Media Player\\wmplayer.exe");
return '';
}
}