Player needs to roll a 5 or better...
(pause for 2 seconds)
...and get a 4! Fails!
So I tried this
Code: Select all
[H:currentTime = json.get(getInfo("client"),"timeInMs")]
[h : currentPlus = sum(currentTime,700)]
[h:ok=0]
[broadcast("Start")]
[h,while (!ok), CODE:{
[newTime = json.get(getInfo("client"),"timeInMs")]
[if(currentPlus < newTime):ok=1]
}]
[broadcast("Over!")]
1. If I used a value greater than 700, I got an error. Not sure why in the world 700 would be threshold for this..
2. Instead of a 700 millisecond delay between the "Start" being broadcast and the "Over!" being broadcast, I got the delay when I first called the macro, but the Start/Over! get broadcast one right after the other, no delay.
Is there a way to achieve what I'm talking about? Thanks!