#If statements

10 messages · Page 1 of 1 (latest)

cerulean void
#

Hi,
I was just wondering why the following image of a shortcut does not work properly
When the number one is selected it speaks fine
When the number two is selected, it does not speak at all

I have a feeling it has something to do with two if statements being right below one another
I was trying to make something on a way larger scale with approximately 10 if statements and it was not working correctly, so I decided to test it on a smaller scale

#

Also, I just realized I should be using the random number thing in the shortcut
Completely forgot about that LMAO
I can’t see that being the solution though

#

Oh wait looks like I found the solution
Unfortunately, it’s gonna require me to have to start over on my other behemoth shortcut

fallen abyss
#

You can remove the Otherwise if it takes up too much space

cerulean void
plush latch
#

thats why it can’t do the second elseif with the number

#

and since it’s a random number between 1,2 rather than having 2 separate if statements i suggest you have one and put the second number in otherwise