<function name="function_1">
msg ("What is your answer?")
get input {
if (result = "your_correct_answer") {
goto page2
} else if (not result ="your_correct_answer") {
ask ("Try again: yes, or go back to page1 to read the story again: no") {
if (result = true) {
function_1
} else if (result = false) {
goto page1
}
}
}
}
</function>