I decided to give it a go and found another way that would work for my current game script.
It plays a video game for 6 hours.
It currently works perfectly for Runescape.
I wanted a little more functionality.
I'm having a real hard time adding the variables and defining them.
so far I have:
Code: Select all
;time left
loop ; start loop
{
FormatTime, Timeleft, ,HHmm ; contant real-time
}
FormatTime, Time, ,HHmm ; Timestamp of script start time
Timer = %Time% ; defining Timestamp as Timer
Timer += 0600 ; Adding run time to Timestamp
Timer -= %Timeleft% ; subtracting real time variable from Timestamp+ estimated Runtime to find remaining time
^!t MsgBox, , , %TImer% ; lets me see how much longer the script will be running for