I want to write a macro that does something for a certain period of time, then have it execute a 2nd macro to take over instead. With Lavishscript if I wanted something to run for 30 minutes before going to another I would do something like this for example:
declare howlongtorun time script ${Time.Timestamp}
howlongtorun.Minute:Inc[30]
howlongtorun:Update
if ${Math.Calc[${howlongtorun.Timestamp}-${Time.Timestamp}]}<1
{
run secondscript
Script:End
}
Is there a macro I could look at on here that makes use of Macroquest's Time variables?
declare howlongtorun time script ${Time.Timestamp}
howlongtorun.Minute:Inc[30]
howlongtorun:Update
if ${Math.Calc[${howlongtorun.Timestamp}-${Time.Timestamp}]}<1
{
run secondscript
Script:End
}
Is there a macro I could look at on here that makes use of Macroquest's Time variables?

