It looks like you're new here. If you want to get involved, click one of these buttons!
(live: 100ms)[(set: $up to (text-style:"shudder"))]
$up[cats]
when I test this, the passage appears as "0cats" and the text style remains the same. Anyone know what I'm doing wrong?
Comments
What you are actually trying to do is replace text with newer (shakier) text. But the replace macro seems to want you to write out cats all over again in order to swap it.
So I thought - this would be a lot easier if I could just assign a variable with the contents of a hook. And it turns out you can: I've set up a hook "h" and then fed that into a variable called $v. Then after a second I replace the hook with my variable and wrap it in the shudder modifier.
I tried $up?h and $up$v but those didn't work. $v isn't a hook, it's just the contents. But you can save yourself from rewriting a hook's contents by dumping it into a variable. And if you stick that inside a freshly made hook, you can add modifications.