I know of (live:) how it reruns the passage over and over, and it works well for updating text when the input is situated next to the for me in the passage, but is there a way to selectively update text on a page without having to contain it all with (live:)?
|a>[You have $number cows!]
(link: "Buy a cow")[(set:$number to it +1)(update: ?a)]
surely you understand what my fictional (update:) macro would do, just force the named hook ?a to rerun and redisplay its contents. i know (live:) works, but my low spec computer absolutely cannot handle how it works, especially below 1s or moderate amount of text. and also if there is a large space of text or other code between the namedhook and the input, using (live:) forces me to contain it all, it doesn't work very well for me.
do i just somehow turn the (update:) into a (live:) prefix to be applied to the named hook, and use (stop:) so it effectively only runs once?
any help is appreciated, i am entirely without knowledge in programming and only a few days into learning twine. i didn't find any similar question here. also the manual (https://twine2.neocities.org/
) doesn't show much usage for named hooks, thanks