How Can let a chose 2 if then goto different ways

Posted: 21 Mar 2021 18:10
by naktim

if I have a chose it's need
it's needs to follow BathRoom_status
Come and go different fields go to
Am i wrong
I never know why I failed

@choice 浴室 goto .BATHROOM_girl01 if:"BathRoom_status > 1" goto .BATHROOM if:"BathRoom_status = 1 "


Re: How Can let a chose 2 if then goto different ways

Posted: 21 Mar 2021 21:42
by idaot

Hello, there are several ways to branch out based on a single choice.

Option 1: Conditional execution after making a choice
@choice 浴室 goto:.BATHROOM
#BATHROOM
@goto .BATHROOM_girl if:"BathRoom_status > 1"
(If check fails, continue the bathroom script without girl here)

Option 2: Show one button depending on the condition:
@choice 浴室 goto: .BATHROOM_girl if:"BathRoom_status > 1"
@choice 浴室 goto: .BATHROOM if:"BathRoom_status = 1 "

There are more, but these are some of the most straightforward ones.


Re: How Can let a chose 2 if then goto different ways

Posted: 22 Mar 2021 02:16
by naktim

OK thanks!

I will write it in two lines!
Thank you very much!!
I always thought it could be written together

thank you very much
I have been changing the format and testing for a whole night
So stupid !!
Thanks !!!!