Shoutbox

[Request] Time Zone Script - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request] Time Zone Script (/showthread.php?tid=62245)

[Request] Time Zone Script by NemoOrange on 07-01-2006 at 02:32 PM

Is there any chance of there being a time zone script? The idea is that if you install the script and, say you and a friend were two time zones away for example, you could say something like this:

Me: Do you realise that at 7pm, the last Dr. Who is on?

And other their computer it would appear as:

Contact: Do you realise that at 9pm, the last Dr. Who is on?

It's just an idea I had because I have many friends who live abroad and it gets annoying to constantly say (your time) or (my time), wouldn't you agree?

If anyone could help I would be very grateful :)

PS - The time format doesn't matter, just as long as it's understandable and easy to use.


RE: [Request] Time Zone Script by Ann Almighty on 07-01-2006 at 03:10 PM

I second that.

I have lots of friends in different time zones (sometimes it's 11 hours difference and it's annoying to calculate all the time) so a script like that would be very useful.


RE: [Request] Time Zone Script by J-Thread on 07-01-2006 at 04:33 PM

Such a script wouldn't be as easy as you might think, because:

  1. You will need some "encoding" to make sure only times are replaced, and not other words you say...
  2. The script has to know in which time zone the other user lives (how??)
  3. There's daylight saving time in different countrys, not at the same date etc, it's not really easy to just convert from time zone 1 to time zone 2...
    [/list]

RE: [Request] Time Zone Script by Ann Almighty on 07-01-2006 at 04:37 PM

How about reading the time from the contact's computer?


RE: [Request] Time Zone Script by Thor on 07-01-2006 at 04:41 PM

That would be easier, or make a window, displaying the diffrent time zones.
That would be very easy.
Even have a image, and a table. :)


RE: RE: [Request] Time Zone Script by Ann Almighty on 07-01-2006 at 06:17 PM

quote:
Originally posted by Nitrolinken
That would be easier, or make a window, displaying the diffrent time zones.
That would be very easy.
Even have a image, and a table. :)


Is there a way to do it without a window? Just to replace the time?
RE: [Request] Time Zone Script by Thor on 07-01-2006 at 06:32 PM

Well yes, if both user has the script, and the settings set, but it would be advanced. May be difficult to develope.


RE: [Request] Time Zone Script by John Anderton on 07-01-2006 at 06:39 PM

i dont think its possible but what i am working on is something like ...

You can basically do something like his.
Me says: Semis start at 8.30pm here
Me says: !time <timezone wrt gmt or standard timezone units> 20.30
Me says: 20.30 (your timezone) => ab:cd (new timezone units)


RE: [Request] Time Zone Script by ADEzor on 08-05-2006 at 08:37 AM

maybe a time zone script like this could be possible?


1. Define own time zone.

2. Define recipent time zone.

(it saves the information somewhere, maybe an INI file or something?)

3. count recipent's time using the both timezones distinction related to ur clock time

(by doing it like that u don't have to have the access to recipent's computer)

i know it wont be easy (or is it? O..o). But I'm sure ALOT of ppl have buddies outside their own timezone and to me it's kinda annoying to ask everytime what time is it from the recipent.

That kind of script would be handy.


RE: [Request] Time Zone Script by artfuldodga on 08-05-2006 at 09:09 AM

I gave feedback to the Messenger Team to have this option in the Client itself, somewhere in the 'Edit Contact' Information.

I still wish they implimented it :P Anyway, a script would be cool.. although im not sure where we would be able to view this info, perhaps in the Information Bar in the Contact Window? If thats possible.

[User is set to Away. Local time is 10:30 PM]

That would be sweet, and also gives the whole messenger a more live feel.


RE: [Request] Time Zone Script by absorbation on 08-05-2006 at 10:41 AM

Time in programming can be annoying. This would be even harder, JScript is not the biggest language, but I bet it can take your local time. Then using your local time you could sniff your contact's ip address and their location and match their location to their timezone. But that won't be accurate because sniffing ip addresses is not that easy, and they maybe using a proxy, and their location may not match their timezone. Then you need to think about daylight savings, which could be near impossible to check. Then once you get your contact's time, you need to replace the messages they say with the correct time. Like if they say, "see you at 9", or "9:15 it is then", you won't know how to detect when they mention time. So basically without me blabbing on even more, this script is near impossible, but possible, just expect tons and tons of limitations.

The best way like said earlier is for Messenger to add the feature itself :P.


RE: [Request] Time Zone Script by Shondoit on 08-07-2006 at 12:54 PM

I'll try to make such a script, it can be done with so called RegExp's
But the only limitation is that the script is not psychic, it can't see if you meant a number or a time. So you need to write the time like "9pm" or "9:00", "see you at 9" won't work

Btw, can someone tell me the most common ways to write time?
9pm, 9:00, etc