What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP] Adding a timer using var as interval (read for more details)

[HELP] Adding a timer using var as interval (read for more details)
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [HELP] Adding a timer using var as interval (read for more details)
quote:
Originally posted by roflmao456
A suggestion: If you keep doing this, you might want to just create a function:

code:
function AddTimer(TimerId, Interval){
    MsgPlus.AddTimer(TimerId, Interval);
}

You are better off just doing this to the whole lot
code:
with(MsgPlus){
   //put your code here
   AddTimer("updatepm", Time * 60000 );
   //put some more code here
}

This code is also very helpful if you are using the same object quite a few times in a small area, it just saves you writing it out all the time.

This post was edited on 08-11-2007 at 01:59 AM by markee.
[Image: markee.png]
08-11-2007 01:58 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] Adding a timer using var as interval (read for more details) - by Kriogenic on 08-10-2007 at 03:23 PM
RE: [HELP] Adding a timer using var as interval (read for more details) - by Matti on 08-10-2007 at 03:27 PM
RE: [HELP] Adding a timer using var as interval (read for more details) - by Kriogenic on 08-10-2007 at 03:31 PM
RE: [HELP] Adding a timer using var as interval (read for more details) - by roflmao456 on 08-10-2007 at 10:46 PM
RE: [HELP] Adding a timer using var as interval (read for more details) - by LifelesS on 08-11-2007 at 12:49 AM
RE: [HELP] Adding a timer using var as interval (read for more details) - by ShawnZ on 08-11-2007 at 01:23 AM
RE: [HELP] Adding a timer using var as interval (read for more details) - by markee on 08-11-2007 at 01:58 AM
RE: [HELP] Adding a timer using var as interval (read for more details) - by Kriogenic on 08-11-2007 at 06:41 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