What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Using/setting time in script

Using/setting time in script
Author: Message:
CrAzY_KeBaB
New Member
*


Posts: 6
Joined: Sep 2006
O.P. Using/setting time in script
How would i go about setting the time according to that users computer in a script? I wan't to make a practice script that simply continuosly updates the time in the P.M. How do i go about doing this.

NOTE: I am a C++ programmer, so please don't assume i can't build it, i just need to know the commands and how to continuously update it without using too many resources from a sustained while(1) loop.
09-16-2006 09:25 PM
Profile E-Mail PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: Using/setting time in script
Tadaaaa !

code:
function OnEvent_Initialize(MessengerStart){
MsgPlus.AddTimer("name", 1000); // 1 second
}

function OnEvent_Timer(id){
if(id=="name"){
   // ...
   MsgPlus.AddTimer("name", 1000);
}
}

This post was edited on 09-16-2006 at 09:42 PM by Huhu_Manix.
09-16-2006 09:41 PM
Profile E-Mail PM Web Find Quote Report
CrAzY_KeBaB
New Member
*


Posts: 6
Joined: Sep 2006
O.P. RE: Using/setting time in script
Thanks.
09-16-2006 10:03 PM
Profile E-Mail 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