Vadi's Time Converter
 
To install this script, download the following .txt file, open it in a plain text editor (like Notepad) and copy it into the Nexus reflex editor, under the Archives - Import XML section. When prompted, MERGE the file into your current archive. For more explicit step by step instructions, read the XML Importing and Exporting Manual.

DOWNLOAD NOW


Syntax for using the script:

vtime (+ or - 1 through 11) - set your timezone, relative to GMT. If your time is, for example, EST, you would use VTIME -5 because EST is 5 hours behind GMT. If you are in PST, you would use VTIME -8. If you were in England, you would use VTIME 0 (or VTIME +1 in the summer) If you want the timer to show only GMT, use VTIME 0, without any plus or minus sign. (Don't forget that your time may change an hour forward or backward when daylight savings occurs, so you'll want to adjust it at those times.)

time
- the internal time command in the game. After the system time message, you will see your local time as well. (Or whatever timezone you have set with the previous syntax, if you prefer looking at a timezone that you're not living in!)


The contents of the script are shown below, without XML tags.

Aliases


vtime
#if $1>12 or $1<-12 {
#echo [Vadi]: Invalid timezone hour.
} else {
#set vsys_timezone $1
#if $vsys_timezone > 0 {#echo [Vadi]: Your timezone has been set as +$vsys_timezone hours from GMT time.} else {#echo [Vadi]: Your timezone has been set as $vsys_timezone hours from GMT time.}
}


Triggers


{<}In your world, it is {d}/{d}/{d} {d:vsys_hour}:{d}:{d} GMT.{>}
#if $4 < 12 {
#set vsys_hour = $4 + 24 + $vsys_timezone
#if $vsys_hour > 24 {
#add vsys_hour - 24
}
#if $vsys_hour > 12 {
#echo [Vadi]: It is $($vsys_hour - 12):$5 pm local time.
} else {
#echo [Vadi]: It is $vsys_hour:$5 am local time.}
} else {
#set vsys_hour = $4 + $vsys_timezone
#if $vsys_hour > 24 {
#add vsys_hour - 24
}
#if $vsys_hour > 12 {
#echo [Vadi]: It is $($vsys_hour - 12):$5 pm local time.
} else {
#echo [Vadi]: It is $vsys_hour:$5 am local time.}
}



That's the end of the script.

(back to free scripts)

This site is optimized for viewing in Mozilla Firefox 1.5 or later, and IE 7.0 or later, with a resolution of 1024x768.