yeh a timer would be good.
anyone fix my code and add me a timer please?
code:
var bomb = 'testing';
function OnEvent_Initialize(MessengerStart)
{
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if(Message == 'BOMB!')
while (offon = 0)
{
ChatWnd.SendMessage(bomb);
}
}
}
}
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin,Message,MessageKind)
{
if (Message == "STOP!") {
offon=1;
}
}