How To Use A Timer
Wednesday, 5 July 2017 10:47 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Just copy and paste the code into the passage, then adjust it to your liking.
For example:
(set: $counter to 3)
For example:
(set: $counter to 3)
You have |amount>[$counter] seconds left!
(live: 1s)[
(set: $counter to it - 1)
(if: $counter is 0)[
(go-to: (either: "Passage 1", "Passage 2", "Passage 3"))
]
(replace: ?amount)[$counter]
]