What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Delay a function

Delay a function
Author: Message:
Inuyasha
New Member
*


Posts: 6
35 / Male / –
Joined: Aug 2006
O.P. RE: Delay a function
Thx, but now i have this script:
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");
                        //Timer interval has been met.
                         }
                }
       
    }
}   


But the timer won't work. I don't get it. :S
(Srry for tree, but the code tags filters tabs :P)

This post was edited on 08-10-2006 at 09:20 AM by Inuyasha.
08-10-2006 09:19 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Delay a function - by Inuyasha on 08-09-2006 at 06:01 PM
RE: Delay a function - by Spunky on 08-09-2006 at 08:49 PM
RE: Delay a function - by Inuyasha on 08-10-2006 at 06:38 AM
RE: Delay a function - by leachy08 on 08-10-2006 at 07:29 AM
RE: Delay a function - by Inuyasha on 08-10-2006 at 09:19 AM
RE: Delay a function - by RaceProUK on 08-10-2006 at 09:23 AM
RE: RE: Delay a function - by Inuyasha on 08-10-2006 at 09:29 AM
RE: Delay a function - by RaceProUK on 08-10-2006 at 09:32 AM
RE: RE: Delay a function - by Inuyasha on 08-10-2006 at 09:39 AM
RE: Delay a function - by RaceProUK on 08-10-2006 at 09:43 AM
RE: RE: Delay a function - by Inuyasha on 08-10-2006 at 09:49 AM


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