What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Timezone v1.01.024

[Release] Timezone v1.01.024
Author: Message:
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
RE: [Release] Timezone v1.01.022
Well, for me, "-0,5" works as it always has and takes off 30min. "-00.30" takes off 6min and "-00:30" does the same.

Also, on an unrelated note, I used to have the auto-update bug and it turned out to be because your earliest version of the script used a file called "Timezone.js" which set the version to something old on startup, and when I auto-updated, your main functions moved to "Main.js", but "Timezone.js" was never deleted, and hence the script thought it was still that old version. (Y)

EDIT: Debug log:
code:
Settings::OnEvent_ChatWndSendMessage {
   $ChatWnd = 2426400
   $Message = "/tzSetGMT -00:30"
   var IsCommand = true
   var Command = "setgmt"
   var Params = "-00:30"
   //Evaluating "setgmt" with Params: "-00:30"
   var Email = "email@domain.com"
   var GMTs = "-00.30"
   var GMT = -0.1
   (GMT != 0): true
   Main::UpdateButton {
      $ChatWnd = 2426400
      (ChatWnd.Contacts.Count == 1): true
      Main::AddButton {
         $ChatWnd = 2426400
         var SignedIn = true
         (ChatWnds[ChatWnd.Handle] == undefined): false
         var ChildWnd = 1967468
         var Result = 1 //SetWindowPos call
         var ChildWnd.Visible = true
      }
   }
   //Command "setgmt" processed with Params: -00:30
}
EDIT:
code:
var GMT = (Minutes != undefined) ? 1 * ("" + Hours + "." + Math.round(Minutes / 60)) : 1 * Hours
"Math.round()" rounds to the nearest integer. What you want is something like "Number.toFixed()" to round decimals. This works:
code:
("" + Hours + "." + (Minutes / 60).toFixed(2).substr(2))

This post was edited on 09-25-2006 at 12:33 PM by phalanxii.
09-25-2006 12:10 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] Timezone v1.01.024 - by Shondoit on 08-30-2006 at 04:31 PM
RE: [Anouncement] - by Jimbo on 08-30-2006 at 04:32 PM
RE: [Anouncement] - by Shondoit on 08-30-2006 at 04:34 PM
RE: [Anouncement] - by Matti on 08-30-2006 at 04:34 PM
RE: [Anouncement] - by Jimbo on 08-30-2006 at 04:35 PM
RE: [Anouncement] - by Shondoit on 08-30-2006 at 04:37 PM
RE: [Anouncement] Timezone - by Salem on 08-30-2006 at 05:13 PM
RE: [Anouncement] Timezone - by artfuldodga on 08-30-2006 at 05:58 PM
RE: [Anouncement] Timezone - by Salem on 08-30-2006 at 06:19 PM
RE: [Anouncement] Timezone - by artfuldodga on 08-30-2006 at 06:44 PM
RE: [Anouncement] Timezone - by Pure_BY on 08-30-2006 at 07:10 PM
RE: [Anouncement] Timezone - by boston on 08-30-2006 at 07:14 PM
RE: [Anouncement] Timezone - by Pure_BY on 08-30-2006 at 07:26 PM
RE: [Anouncement] Timezone - by Thor on 08-30-2006 at 07:49 PM
RE: [Anouncement] Timezone - by Reload2 on 08-30-2006 at 08:28 PM
RE: [Anouncement] Timezone - by Pure_BY on 08-30-2006 at 08:50 PM
RE: RE: [Anouncement] Timezone - by Salem on 08-31-2006 at 07:58 AM
RE: [Anouncement] Timezone - by Reload2 on 08-30-2006 at 09:39 PM
RE: [Anouncement] Timezone - by Shondoit on 08-30-2006 at 10:25 PM
RE: [Anouncement] Timezone - by cloudhunter on 08-30-2006 at 10:43 PM
RE: [Anouncement] Timezone - by Spunky on 08-30-2006 at 10:45 PM
RE: [Anouncement] Timezone - by cloudhunter on 08-30-2006 at 10:47 PM
RE: [Anouncement] Timezone - by Shondoit on 08-30-2006 at 10:48 PM
RE: [Anouncement] Timezone - by cloudhunter on 08-30-2006 at 10:54 PM
RE: [Anouncement] Timezone - by Shondoit on 08-30-2006 at 10:59 PM
RE: [Anouncement] Timezone - by cloudhunter on 08-30-2006 at 11:03 PM
RE: [Anouncement] Timezone - by Shondoit on 08-30-2006 at 11:14 PM
RE: [Anouncement] Timezone - by Spunky on 08-30-2006 at 11:15 PM
RE: [Anouncement] Timezone - by cloudhunter on 08-30-2006 at 11:22 PM
RE: [Anouncement] Timezone - by Shondoit on 08-30-2006 at 11:22 PM
RE: [Release] Timezone - by artfuldodga on 08-31-2006 at 02:14 AM
RE: [Release] Timezone - by Matti on 08-31-2006 at 09:18 AM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 09:26 AM
RE: [Release] Timezone - by Matti on 08-31-2006 at 09:45 AM
RE: [Release] Timezone - by Salem on 08-31-2006 at 10:43 AM
RE: [Release] Timezone - by Felu on 08-31-2006 at 10:53 AM
RE: [Release] Timezone - by Matti on 08-31-2006 at 12:18 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 12:21 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 01:46 PM
RE: RE: [Release] Timezone - by Salem on 08-31-2006 at 02:39 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 01:53 PM
RE: [Release] Timezone - by Felu on 08-31-2006 at 01:57 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 01:58 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 01:59 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:02 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 02:04 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:05 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 02:06 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:08 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 02:11 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:12 PM
RE: [Release] Timezone - by tony on 08-31-2006 at 02:15 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:15 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 02:24 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:27 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 02:29 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:31 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 02:33 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:34 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 02:35 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:36 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 02:42 PM
RE: [Release] Timezone - by Jimbo on 08-31-2006 at 02:56 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 04:29 PM
RE: [Release] Timezone - by Geo on 08-31-2006 at 05:05 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 05:09 PM
RE: [Release] Timezone - by Lourix on 08-31-2006 at 05:11 PM
RE: [Release] Timezone - by artfuldodga on 08-31-2006 at 05:24 PM
RE: [Release] Timezone - by Matti on 08-31-2006 at 05:33 PM
RE: [Release] Timezone - by NanaFreak on 08-31-2006 at 08:54 PM
RE: [Release] Timezone - by artfuldodga on 08-31-2006 at 09:08 PM
RE: [Release] Timezone - by Spunky on 08-31-2006 at 09:09 PM
RE: [Release] Timezone - by Jesus on 08-31-2006 at 10:03 PM
RE: [Release] Timezone - by Spunky on 08-31-2006 at 10:06 PM
RE: [Release] Timezone - by cloudhunter on 08-31-2006 at 10:07 PM
RE: [Release] Timezone - by Spunky on 08-31-2006 at 10:08 PM
RE: [Release] Timezone - by Jesus on 08-31-2006 at 10:25 PM
RE: [Release] Timezone - by Spunky on 08-31-2006 at 10:29 PM
RE: [Release] Timezone - by Shondoit on 08-31-2006 at 11:17 PM
RE: RE: [Release] Timezone - by Salem on 09-01-2006 at 09:14 AM
RE: [Release] Timezone - by artfuldodga on 09-01-2006 at 12:34 AM
RE: [Release] Timezone - by Chris4 on 09-01-2006 at 09:25 AM
RE: [Release] Timezone - by Jimbo on 09-01-2006 at 09:26 AM
RE: [Release] Timezone - by Chris4 on 09-01-2006 at 10:01 AM
RE: [Release] Timezone - by Jimbo on 09-01-2006 at 10:02 AM
RE: [Release] Timezone - by Spunky on 09-01-2006 at 08:47 PM
RE: [Release] Timezone - by artfuldodga on 09-01-2006 at 09:05 PM
RE: [Release] Timezone - by Spunky on 09-01-2006 at 09:06 PM
RE: [Release] Timezone - by matty on 09-01-2006 at 09:13 PM
RE: [Release] Timezone - by Lourix on 09-01-2006 at 09:15 PM
RE: [Release] Timezone - by Joereynolds89 on 09-01-2006 at 09:39 PM
RE: [Release] Timezone - by Zayl on 09-01-2006 at 10:34 PM
RE: [Release] Timezone - by Shondoit on 09-01-2006 at 10:38 PM
RE: [Release] Timezone v1.01.07 - by Shondoit on 09-01-2006 at 11:44 PM
RE: [Release] Timezone v1.01.07 - by Knucks on 09-02-2006 at 12:53 AM
RE: [Release] Timezone v1.01.07 - by artfuldodga on 09-02-2006 at 01:45 AM
RE: [Release] Timezone v1.01.07 - by Chris4 on 09-02-2006 at 01:57 AM
RE: [Release] Timezone v1.01.07 - by Shondoit on 09-02-2006 at 07:11 AM
RE: [Release] Timezone v1.01.07 - by phalanxii on 09-02-2006 at 08:57 AM
RE: [Release] Timezone v1.01.07 - by Shondoit on 09-02-2006 at 09:02 AM
RE: [Release] Timezone v1.01.07 - by phalanxii on 09-02-2006 at 09:32 AM
RE: [Release] Timezone v1.01.07 - by Shondoit on 09-02-2006 at 09:35 AM
RE: RE: [Release] Timezone v1.01.07 - by phalanxii on 09-02-2006 at 09:45 AM
RE: [Release] Timezone v1.01.09 - by Shondoit on 09-02-2006 at 09:53 AM
RE: [Release] Timezone v1.01.09 - by phalanxii on 09-02-2006 at 10:12 AM
RE: [Release] Timezone v1.01.09 - by Matti on 09-02-2006 at 10:42 AM
RE: [Release] Timezone v1.01.09 - by phalanxii on 09-02-2006 at 11:05 AM
RE: [Release] Timezone v1.01.09 - by Spunky on 09-02-2006 at 11:28 AM
RE: [Release] Timezone v1.01.09 - by NanaFreak on 09-02-2006 at 12:07 PM
RE: [Release] Timezone v1.01.09 - by Shondoit on 09-02-2006 at 12:24 PM
RE: [Release] Timezone v1.01.09 - by ins4ne on 09-02-2006 at 12:49 PM
RE: [Release] Timezone v1.01.011 - by Shondoit on 09-02-2006 at 11:07 PM
RE: [Release] Timezone v1.01.012 - by Knucks on 09-03-2006 at 07:52 PM
RE: [Release] Timezone v1.01.012 - by Shondoit on 09-03-2006 at 07:55 PM
RE: [Release] Timezone v1.01.012 - by Knucks on 09-03-2006 at 08:01 PM
RE: [Release] Timezone v1.01.012 - by Shondoit on 09-03-2006 at 08:03 PM
RE: [Release] Timezone v1.01.016 - by Jimcando on 09-03-2006 at 09:49 PM
RE: [Release] Timezone v1.01.016 - by CookieRevised on 09-04-2006 at 12:45 AM
RE: [Release] Timezone v1.01.016 - by NanaFreak on 09-04-2006 at 05:34 AM
RE: [Release] Timezone v1.01.016 - by CookieRevised on 09-04-2006 at 05:43 AM
RE: [Release] Timezone v1.01.016 - by NanaFreak on 09-04-2006 at 05:51 AM
RE: [Release] Timezone v1.01.017 - by Shondoit on 09-04-2006 at 07:54 AM
RE: [Release] Timezone v1.01.018 - by absorbation on 09-04-2006 at 12:34 PM
RE: [Release] Timezone v1.01.018 - by the_dare on 09-04-2006 at 06:30 PM
RE: [Release] Timezone v1.01.018 - by boston on 09-04-2006 at 07:37 PM
RE: [Release] Timezone v1.01.018 - by Shondoit on 09-04-2006 at 07:43 PM
RE: [Release] Timezone v1.01.018 - by Thor on 09-04-2006 at 07:46 PM
RE: [Release] Timezone v1.01.018 - by boston on 09-04-2006 at 07:49 PM
RE: [Release] Timezone v1.01.018 - by Shondoit on 09-04-2006 at 07:49 PM
RE: [Release] Timezone v1.01.020 - by Shondoit on 09-09-2006 at 09:15 AM
RE: [Release] Timezone v1.01.020 - by Eddie on 09-09-2006 at 10:30 AM
RE: RE: [Release] Timezone v1.01.020 - by Salem on 09-11-2006 at 01:54 PM
RE: [Release] Timezone v1.01.020 - by Spunky on 09-11-2006 at 12:33 PM
RE: [Release] Timezone v1.01.020 - by Jimbo on 09-14-2006 at 05:05 PM
RE: [Release] Timezone v1.01.020 - by Blokie on 09-14-2006 at 06:01 PM
RE: [Release] Timezone v1.01.020 - by Shondoit on 09-14-2006 at 06:04 PM
RE: RE: [Release] Timezone v1.01.020 - by Blokie on 09-14-2006 at 06:05 PM
RE: [Release] Timezone v1.01.020 - by Jimbo on 09-14-2006 at 07:03 PM
RE: [Release] Timezone v1.01.020 - by Shondoit on 09-14-2006 at 07:06 PM
RE: [Release] Timezone v1.01.020 - by Blokie on 09-14-2006 at 07:06 PM
RE: [Release] Timezone v1.01.020 - by Jimbo on 09-14-2006 at 07:10 PM
RE: [Release] Timezone v1.01.020 - by Shondoit on 09-14-2006 at 07:13 PM
RE: [Release] Timezone v1.01.020 - by Jimbo on 09-14-2006 at 07:15 PM
RE: [Release] Timezone v1.01.020 - by Blokie on 09-14-2006 at 07:18 PM
RE: [Release] Timezone v1.01.020 - by Shondoit on 09-14-2006 at 07:21 PM
RE: [Release] Timezone v1.01.020 - by Blokie on 09-14-2006 at 07:29 PM
RE: [Release] Timezone v1.01.020 - by rainbow on 09-15-2006 at 09:09 AM
RE: [Release] Timezone v1.01.020 - by Matti on 09-15-2006 at 09:18 AM
RE: [Release] Timezone v1.01.020 - by Shondoit on 09-15-2006 at 09:21 AM
RE: RE: [Release] Timezone v1.01.020 - by rainbow on 09-15-2006 at 09:25 AM
RE: [Release] Timezone v1.01.020 - by Shondoit on 09-15-2006 at 09:26 AM
RE: RE: [Release] Timezone v1.01.020 - by rainbow on 09-15-2006 at 09:42 AM
RE: [Release] Timezone v1.01.020 - by Matti on 09-15-2006 at 09:50 AM
RE: [Release] Timezone v1.01.021 - by Shondoit on 09-23-2006 at 09:51 PM
RE: [Release] Timezone v1.01.021 - by Blokie on 09-24-2006 at 12:06 PM
RE: [Release] Timezone v1.01.021 - by Shondoit on 09-24-2006 at 12:09 PM
RE: [Release] Timezone v1.01.021 - by Blokie on 09-24-2006 at 12:14 PM
RE: [Release] Timezone v1.01.021 - by duck! on 09-24-2006 at 12:21 PM
RE: [Release] Timezone v1.01.021 - by Shondoit on 09-24-2006 at 12:34 PM
RE: [Release] Timezone v1.01.021 - by lordy on 09-25-2006 at 11:10 AM
RE: [Release] Timezone v1.01.021 - by Shondoit on 09-25-2006 at 11:28 AM
RE: [Release] Timezone v1.01.021 - by lordy on 09-25-2006 at 11:34 AM
RE: [Release] Timezone v1.01.021 - by Shondoit on 09-25-2006 at 11:41 AM
RE: [Release] Timezone v1.01.021 - by NanaFreak on 09-25-2006 at 11:46 AM
RE: [Release] Timezone v1.01.021 - by phalanxii on 09-25-2006 at 11:51 AM
RE: [Release] Timezone v1.01.021 - by NanaFreak on 09-25-2006 at 11:53 AM
RE: [Release] Timezone v1.01.021 - by Shondoit on 09-25-2006 at 11:55 AM
RE: [Release] Timezone v1.01.022 - by phalanxii on 09-25-2006 at 12:10 PM
RE: [Release] Timezone v1.01.023 - by Shondoit on 09-25-2006 at 04:08 PM
RE: [Release] Timezone v1.01.024 - by Shondoit on 09-25-2006 at 05:08 PM
RE: [Release] Timezone v1.01.024 - by CookieRevised on 09-26-2006 at 06:41 AM
RE: [Release] Timezone v1.01.024 - by phalanxii on 09-26-2006 at 08:13 AM
RE: [Release] Timezone v1.01.024 - by NanaFreak on 09-26-2006 at 08:21 AM
RE: [Release] Timezone v1.01.024 - by Shondoit on 09-26-2006 at 12:18 PM
RE: [Release] Timezone v1.01.024 - by CookieRevised on 09-26-2006 at 05:34 PM
RE: [Release] Timezone v1.01.024 - by Shondoit on 09-26-2006 at 05:47 PM
RE: RE: [Release] Timezone v1.01.024 - by CookieRevised on 09-26-2006 at 06:29 PM
RE: [Release] Timezone v1.01.024 - by Shondoit on 09-26-2006 at 06:37 PM
RE: RE: [Release] Timezone v1.01.024 - by CookieRevised on 09-26-2006 at 06:55 PM
RE: [Release] Timezone v1.01.024 - by Plan-1130 on 10-24-2006 at 09:51 PM
RE: [Release] Timezone v1.01.024 - by Sana on 10-25-2006 at 04:00 AM
RE: [Release] Timezone v1.01.024 - by tank on 10-25-2006 at 04:26 PM
RE: [Release] Timezone v1.01.024 - by Spunky on 10-25-2006 at 06:31 PM
RE: [Release] Timezone v1.01.024 - by warmth on 01-07-2007 at 04:31 AM
RE: [Release] Timezone v1.01.024 - by kryp2nyt on 01-07-2007 at 02:10 PM
RE: [Release] Timezone v1.01.024 - by NanaFreak on 01-07-2007 at 02:14 PM
RE: [Release] Timezone v1.01.024 - by warmth on 11-29-2007 at 01:38 AM
RE: [Release] Timezone v1.01.024 - by Dane on 11-29-2007 at 01:55 AM
RE: [Release] Timezone v1.01.024 - by CookieRevised on 11-29-2007 at 02:39 AM
RE: [Release] Timezone v1.01.024 - by NanaFreak on 11-29-2007 at 08:50 AM
RE: [Release] Timezone v1.01.024 - by Dane on 11-29-2007 at 09:09 AM
RE: [Release] Timezone v1.01.024 - by markee on 11-29-2007 at 09:13 AM
RE: [Release] Timezone v1.01.024 - by NanaFreak on 11-29-2007 at 09:33 AM
RE: [Release] Timezone v1.01.024 - by Shondoit on 11-29-2007 at 11:24 AM
RE: [Release] Timezone v1.01.024 - by warmth on 11-29-2007 at 11:37 AM
RE: [Release] Timezone v1.01.024 - by Matti on 11-29-2007 at 05:41 PM
RE: [Release] Timezone v1.01.024 - by warmth on 11-29-2007 at 05:58 PM
RE: [Release] Timezone v1.01.024 - by styler0001 on 06-14-2008 at 02:48 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