What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help] AddTimer to change var

[help] AddTimer to change var
Author: Message:
laurenz
Junior Member
**


Posts: 23
Joined: Sep 2005
O.P. [help] AddTimer to change var
i got this nifty code:
code:
var gepraat = Array();

function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind)
{

    if(MessageKind == 1 && Messenger.MyStatus == 7 && Messenger.MyName != Origin && gepraat[Origin] != true)
    {

        var Message = "Hoi " + Origin +". \n Hier komt zo te staan wat je kan doen:\n 1. Niks\n 2. Ook niks\n 3. Nog steeds niks."
            ChatWnd.SendMessage(Message);
        gepraat[Origin] = true
       
    }
}

but now i want after 10 secs, that the gepraat[Origin] value gets resetted to false again. does anybody know how to implent the AddTimer function?
06-28-2006 12:27 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help] AddTimer to change var - by laurenz on 06-28-2006 at 12:27 PM
RE: [help] AddTimer to change var - by Eljay on 06-28-2006 at 12:37 PM
RE: [help] AddTimer to change var - by alexp2_ad on 06-28-2006 at 12:38 PM
RE: RE: [help] AddTimer to change var - by laurenz on 06-28-2006 at 02:04 PM
RE: [help] AddTimer to change var - by Eljay on 06-28-2006 at 02:11 PM
RE: [help] AddTimer to change var - by laurenz on 06-28-2006 at 05:01 PM
RE: [help] AddTimer to change var - by Mr. Bougo on 06-28-2006 at 06:20 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On