O.P. what doesn't work?
what doesn't work with this script?
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin,Message,MessageKind)
{
if (Message == "test1") {
WriteString(0, "test");
}
if (Message == "test2") {
MsgPlus.DisplayToast("TEST", ReadString(0));
}
}
|