What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » how to run the function every 10 mins?

how to run the function every 10 mins?
Author: Message:
ainain
New Member
*


Posts: 8
Joined: Jan 2009
O.P. how to run the function every 10 mins?
how to run the function every 10 mins?
02-06-2009 04:01 PM
Profile E-Mail PM Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
38 / Male / Flag
Joined: Jul 2005
RE: how to run the function every 10 mins?
take a look at the MsgPlus.AddTimer() function.

quote:
Originally posted by Official Scripting Documentation
MsgPlus::AddTimer
The MsgPlus::AddTimer function creates a new timer event for your script. The OnEvent_Timer event will be fired once after the specified time interval elapses.

Syntax
AddTimer(
    [string] TimerId,
    [number] Elapse
);


Edit: look here for the scripting documentation if you don't have it already.

This post was edited on 02-06-2009 at 05:12 PM by Jesus.
Man is least himself when he is in his own person. Give him a mask and he will tell you the truth. (Oscar Wilde)
02-06-2009 05:05 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: how to run the function every 10 mins?
Because it's milliseconds too, the interval would be:

(1000x60)x10
<Eljay> "Problems encountered: shit blew up" :zippy:
02-06-2009 05:49 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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