You Can Talk About Hopscotch Here; Topic 30 [OFFICIAL]

Something like if the burger and fries don’t spawn
Then one of the other food items will spawn

1 Like

You’ll need an else for the if random 1 to 10 = 1 part.

1 Like

try using this code:
set yumyum to random 1-4
check if else: yumyum = 1
set text to :fries:
check if else: yumyum = 2
set text to :fries: :hamburger:
check if else: yumyum = 3
set text to :pizza:
check if else: yumyum = 4
set text to :fries:

Ok but why are two of the emojis fries

And the thing is set to 1-5 cuz I also wanted to add another food item

Here is why it sometimes don’t work… it will also not run, even if the circled statement returned false, since the statement before returned true.

Ok o can try this?

Soooo what do I do??

1 Like

Wait what yum yum do I set

1 Like

use check once if- not check if else.

2 Likes

it doesnt matter as long as you use the same one for the rest of the code

okay then just add another one

idk lol thought thats what you had you can change it :))

Here’s an example I just made:

1 Like

On what?

Idk

2 Likes

what do you mean? just the blocks you used

2 Likes

All of them?

2 Likes

yes, unless you actually want to use check if else in part of that.

2 Likes

Ok

Also why do you guys always like my posts before you reply

2 Likes

The reason I used a lot of check if else blocks cuz that’s what my sister told me to do to make a random item

1 Like

uhm why not lol

1 Like

I think I will just try to make a different way to make burger and fries

Cuz all this is just a bit too complicated to me

(Sorry if this sounds like I wasted your time)

1 Like