Hello fellow Twiners.
Am pretty new to this and am having some issues with choices made in 1 passage that's should link to another passage. The difference in choices affects the story.
For example, in passage 5 "David wants to buy a gift for his wife. Choice A a bag, choice B shoes"
Now in passage 10 " David gives his wife the gift. If he bought the bag (choice A) he gets kisses, and if he bought shoes (choice

he gets hugs.
Now i can't seem to figure the codes out.
Any help would be highly appreciated
Comments
You can use a variable record which option was selected and then late use the value of the variable to determine what should be displayed to the Reader.
1. First passage:
Use a (set:) macro to record which option was selected in the $gift variable.
2. Second passage:
Use an (if:) macro combined with an (else:) macro to determine what to displayed.
The same functionality can be achieved using both Snowman and SubarCube but the syntax of the passage content would be different.