Harris Powell-Smith

IF Seal: A Twine query about variables within links (Harlow)

**Hello dear IF seal :) This is sort of a tech question, so no problem if you can't answer it--I was wondering if there was any way to have variables exist inside passage links? Text example of this is [[I'm playername.]]Thevariablehadalreadybeensetalreadypriortothetext,butitsjustshowingupas"playername" whenever I try to test it :( For reference I use Harlowe + Twine for coding.

Thanks!**

Dear Twining Friend,

My Harlowe knowledge is as rusty as an old anchor on a shipwreck, but this is indeed possible!

If your variable is $playername and the link to which you want to go next is nextpassage, you can do:

(link: "I'm $playername")[(goto: "nextpassage")]

Best of luck with your Twine project, my friend!

#if seal #if seal: tech #if seal: twine