Player choice code (Story extennsion)

Hello! i just wondering how i could repeat a question when you choose the wrong one? doing this for a game. Heres the link (The onwe next to the humongus code) https://arcade.makecode.com/S45877-67163-35431-13651

2 Likes

We use a function:

Look at the example and look at the code.

Holy crap man, this is awesome! I’m not 100% sure how to do what you’re asking, but I’m pretty sure the story extension has some variables you can use that I’ve used before like <last answer=> and if you pair that with an “if” statement, you can get like [if last answer=x, then repeat question] I guess you could do that infinitely, not entirely sure.