Skip to content

Instantly share code, notes, and snippets.

@walterwang
Created September 28, 2014 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walterwang/9b9faa88041039f22c47 to your computer and use it in GitHub Desktop.
Save walterwang/9b9faa88041039f22c47 to your computer and use it in GitHub Desktop.
MButton::
SendEvent {Click}
FormatTime, TimeString,, hh:mm:ss
send %TimeString%
FormatTime, hour, , hh
FormatTime, min, , mm
FormatTime, secs, , ss
minutes:=min*60
hour_int:=hour*60*60
respawntime:=(12*60)+minutes+hour_int+secs
time= 19990101
time+= %respawntime%,seconds
FormatTime, frespawntime, %time%, hh:mm:ss
send {tab}
Send %frespawntime%
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment