How to make the "x" appear when the answer is wrong and not when the answer is right (harlowe)

0 votes
asked 6 days ago by Bpedronc (120 points)

(set: $answer1 to (prompt:"Team Answer:"))[
(if: $answer1 contains "statement" or $answer1 contains "bill")[
(Set: $answer1 to $ans2)
(set:$ans2 to "2.Customer never received Statement")
]
(elseif: $answer1 contains "time")[
(Set: $answer1 to $ans1)
(set:$ans1 to "1.past cut off time")
]
(elseif: $answer1 contains "mail")[
(Set: $answer1 to $ans5)
(set:$ans5 to "5.Mailed in payment")

]
(elseif: $answer1 contains "hospital")[
(Set: $answer1 to $ans6)
(set:$ans6 to "6.Customer was in the hospital")

]
(elseif: $answer1 contains "town" or $answer1 contains "vacation")[
(Set: $answer1 to $ans4)
(set:$ans4 to "4.Customer was on vacation")
]
(elseif: $answer1 contains "forgot" or $answer1 contains "mind")[
(Set: $answer1 to $ans3)
(set:$ans3 to "3.Forgot to pay bill")
]

####Reasons customers call in to have a late fee removed
(if:$ans1 is 0)[(set:$ans1 to "1._______")]
$ans1
(if:$ans2 is 0)[(set:$ans2 to "2._______")]
$ans2
(if:$ans3 is 0)[(set:$ans3 to "3._______")]
$ans3
(if:$ans4 is 0)[(set:$ans4 to "4._______")]
$ans4
(if:$ans5 is 0)[(set:$ans5 to "5._______")]
$ans5
(if:$ans6 is 0)[(set:$ans6 to "6._______")]
$ans6

(elseif:$answer1 is (either: $ans1, $ans2, $ans3, $ans4, $ans5, $ans6))
[[[[Next|next 1.2]]]

(else:)[(set:$x to $x+1)
]

(if:$x is 1)[
#x
]
(if: $x is 2)[
#xx
]
(if: $x is 3)[
#xxx
]
[[Next|next 1.2]]]

 

Please log in or register to answer this question.

...