giangtranguyen: (Default)
Nguyễn Trà Giang ([personal profile] giangtranguyen) wrote in [community profile] twine_tutorials2017-08-08 07:47 pm

How To Use A Timer That Increases Time

Just copy and paste the code into the passage, and then adjust it to your liking.

For example:

(set: $sec to 0)
(live:1s)[
 Seconds: $sec
 (set: $sec to it + 1)
 (if: $sec > 3)[3 seconds passed]
 (if: $sec > 5)[(go-to:"next")]
]