What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » script sleep command

script sleep command
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: script sleep command
The best thing you could do is to use the MsgPlus timers, which was also mentioned earlier in this thread (therefore, always read the whole topic ;)). An example would look like this:
code:
function OnEvent_SignIn(Email) {
   if(Email == "someone@hotmail.com") {
      MsgPlus.DisplayToast("Welcome", "Hello there!");
      MsgPlus.AddTimer("SignIn_Sleep", 1000); //1000 milliseconds = 1 second
   }
}

function OnEvent_Timer(TimerId) {
   if(TimerId == "SignIn_Sleep") {
      MsgPlus.DisplayToast("Welcome", "How are you today?");
   }
}
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
03-07-2007 05:33 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
script sleep command - by Gareth_2007 on 03-07-2007 at 01:09 AM
RE: script sleep command - by Voldemort on 03-07-2007 at 01:11 AM
RE: script sleep command - by Gareth_2007 on 03-07-2007 at 01:12 AM
RE: script sleep command - by Dennis Mike on 03-07-2007 at 02:47 AM
RE: script sleep command - by Felu on 03-07-2007 at 03:15 AM
RE: RE: script sleep command - by felipEx on 03-07-2007 at 05:16 AM
RE: script sleep command - by -dt- on 03-07-2007 at 06:07 AM
RE: script sleep command - by Volv on 03-07-2007 at 08:31 AM
RE: script sleep command - by CookieRevised on 03-07-2007 at 10:58 AM
RE: script sleep command - by Gareth_2007 on 03-07-2007 at 12:57 PM
RE: script sleep command - by Matti on 03-07-2007 at 05:33 PM
RE: script sleep command - by CookieRevised on 03-07-2007 at 05:38 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