ConditionalsΒΆ
Using conditionals in PromptScript.
Conditionals in PromptScript function the same as in python:
1number = 8
2guess = 5
3
4if guess > number:
5 show "your guess is too high."
6elif guess < number:
7 show "your guess is too low."
8else:
9 show "you guessed correctly!"