What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request]Help B4 I Go INSANE

[Request]Help B4 I Go INSANE
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [Request]Help B4 I Go INSANE
For a timer, you need to first create one:
code:
MsgPlus.AddTimer(/* TIMERID */ "MyTimer", /* ELAPSE (in ms) */ 100);
and have an event for it:
code:
function OnEvent_Timer(TimerId) {
   switch(TimerId) {
      case "MyTimer":
         /* Do stuff here */
         MsgPlus.AddTimer("MyTimer", 100); //Optionally, you can create a loop by re-adding the timer
         break;
   }
}

Of course, you can have multiple timers, like "MyTimer" and "MyOtherTimer". To make those work, call MsgPlus.AddTimer whenever you want for one of them and add a "case"-statement to the "switch"-block in the OnEvent_Timer function. ;)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
11-01-2007 08:35 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request]Help B4 I Go INSANE - by waynewilson2 on 10-31-2007 at 06:11 AM
RE: [Request]Help B4 I Go INSANE - by NanaFreak on 10-31-2007 at 06:39 AM
RE: [Request]Help B4 I Go INSANE - by waynewilson2 on 10-31-2007 at 08:23 PM
RE: [Request]Help B4 I Go INSANE - by NanaFreak on 10-31-2007 at 08:37 PM
RE: [Request]Help B4 I Go INSANE - by waynewilson2 on 10-31-2007 at 08:53 PM
RE: [Request]Help B4 I Go INSANE - by RaceProUK on 10-31-2007 at 09:40 PM
RE: [Request]Help B4 I Go INSANE - by waynewilson2 on 11-01-2007 at 12:31 AM
RE: [Request]Help B4 I Go INSANE - by markee on 11-01-2007 at 12:44 AM
RE: [Request]Help B4 I Go INSANE - by waynewilson2 on 11-01-2007 at 02:33 AM
RE: [Request]Help B4 I Go INSANE - by waynewilson2 on 11-01-2007 at 05:23 AM
RE: [Request]Help B4 I Go INSANE - by NanaFreak on 11-01-2007 at 05:50 AM
RE: [Request]Help B4 I Go INSANE - by Matti on 11-01-2007 at 08:35 AM
RE: [Request]Help B4 I Go INSANE - by waynewilson2 on 11-01-2007 at 07:36 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