quote:
Originally posted by RaceProUK
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
MsgPlus.AddTimer("yoyo", 1000)
if (Message == "=D") {
ChatWnd.SendMessage(":')");
}
}
function OnEvent_Timer(TimerId)
{
if (TimerId == "yoyo") {
ChatWnd.SendMessage("jeej");
}
}
Im getting an error which says "ChatWnd.SendMessage" is not defined....