When I run a macro in an instance I like the macro to show how long I've been playing, so I know approx. how much time I have left until the instance ends.
Hours and seconds works fine. But I cant get minutes to show 0 -59, minutes just keeps increasing.
${Int[${Math.Calc[${Macro.RunTime}/3600]}]} Hour(s)
${Int[${Math.Calc[${Macro.RunTime}-${Int[${Math.Calc[${Macro.RunTime}/60]}]}*60]}]} Sec.
What is the code for minutes to show 0-59?
Thank you
Hours and seconds works fine. But I cant get minutes to show 0 -59, minutes just keeps increasing.
${Int[${Math.Calc[${Macro.RunTime}/3600]}]} Hour(s)
${Int[${Math.Calc[${Macro.RunTime}-${Int[${Math.Calc[${Macro.RunTime}/60]}]}*60]}]} Sec.
What is the code for minutes to show 0-59?
Thank you