It looks like you're new here. If you want to get involved, click one of these buttons!
<<set $delay to "5s">> <<set $action to "<<timed " + $delay + ">>Hello World<</timed>>">> <<print $action>>
greyelf wrote: » You can use a <<print>> macro to dynamically convert a String value into actual macro code.
twinesims wrote: » I am using <<timed>> macro in Sugarcube 2 in Twine 2. How can I specify the time interval dynamically?
/* Using a temporary variable here. */ <<set _interval to "3s">> Thunderbirds. Are. <<timed _interval>>GO!<</timed>>
Comments
Simply give it a variable—just as you seem to want to do.
For example: