Returning the proper statement in a note

I have tried every way I can think of to make screen 7 and 8 do what I want them to do.

On screen 7, I want it to return “Great job! You got him!” in the note when they successfully swat the fly and “You missed him! Get another fly.” Right now, it only returns “You missed him! Get another fly!” no matter what conditions I use in the script.

Similarly, I want the same thing on screen 8 but this time it’s for the three flies.

I’m sure this is a relatively simple fix and I’ve just been staring at it for so long that I can’t see it. Thanks for any help!

1 Like

That has to deal with your random variables. The new number is being generated when you submit your answer and the new numbers are different from the old. What you want to do is use capture here to preserve the old values for the conditional.