Welcome to a number guessing game. I am thinking of a number between 1 and 100. You will be asked to guess it. I will tell you if your guess is higher or lower than the number I've chosen. [[You win by guessing my number]]!
(set: $number to (random: 0,100))(set: $guess to (prompt: "What is my number?","0"))(set: $guess to (num: $guess))(if: $guess < $number)[That's too low! [[Try again.|You win by guessing my number]](set: $count to it + 1)](elseif: $guess > $number)[That's too high! [[Try again.|You win by guessing my number]](set: $count to it + 1)](Else:)[(if: $count is 1)[(set: $turn to "turn")](elseif: $count > 1)[(set: $turn to "turns")]Correct, $number is my number!
It took you $count $turn to figure my number out.](set: $count to 1)