I am trying to write a passage where a person puts in their age with a prompt, then the passage checks if their age is above or below 18, and sends back a specific response. So far I've been getting nothing but error messages. Here's what I've got:
(set: $age to (prompt: "How old are you?"))
Oh, so you're $age?
(if: $age < 18)[You're too young.]
(elseif: $age > 18)[You're old enough.]
But it keeps giving me a response like "I can only do > with numbers, not the string "15""
Do I need to somehow convert the prompt response string into a number? I've had success before doing operations like (if: $num1 > $num2)[blah blah]. That seemed to work fine.
What can I do?