# Please Help

**URL:** <https://forum.makecode.com/t/please-help/4852>\
**Category:** Help\
**Created:** [December 8, 2020, 7:47pm UTC](https://forum.makecode.com/t/please-help/4852 "2020-12-08T19:47:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wanna\_be\_coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wanna_be_coder/32/2667_2.png) [@Wanna\_be\_coder](https://forum.makecode.com/u/Wanna_be_coder)\
**Post date:** [December 8, 2020, 7:47pm UTC](https://forum.makecode.com/t/please-help/4852/1 "2020-12-08T19:47:23Z")

</div>

I’m a big nub at this and I am trying to make a multiple choice response thing. Like in Pokémon where you walk into something and there is a question and 4 answers and each answer had a different response. IDK if this makes since but I need someone to help me pls.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [December 8, 2020, 9:43pm UTC](https://forum.makecode.com/t/please-help/4852/2 "2020-12-08T21:43:09Z")

</div>

Coming in to advertise…

I have a [gist](https://gist.github.com/UnsignedArduino/3bc2adce4b3f687ea1967578449d014d) full of MakeCode extensions that are very useful. One of them is the block menu made by @richard:

> **[riknoll/arcade-custom-menu](https://github.com/riknoll/arcade-custom-menu)**
>
> An extension for creating and displaying menus in MakeCode Arcade - riknoll/arcade-custom-menu

---

<div class="post-metadata">

**Author:** ![Wanna\_be\_coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wanna_be_coder/32/2667_2.png) [@Wanna\_be\_coder](https://forum.makecode.com/u/Wanna_be_coder)\
**Post date:** [December 9, 2020, 5:36pm UTC](https://forum.makecode.com/t/please-help/4852/3 "2020-12-09T17:36:08Z")

</div>

thank you

---

<div class="post-metadata">

**Author:** ![Wanna\_be\_coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wanna_be_coder/32/2667_2.png) [@Wanna\_be\_coder](https://forum.makecode.com/u/Wanna_be_coder)\
**Post date:** [December 10, 2020, 6:20pm UTC](https://forum.makecode.com/t/please-help/4852/4 "2020-12-10T18:20:28Z")

</div>

Hello Again, It me, umm I got stuck trying to implement this into my game and I was wondering can you help me out. I don’t really know how to use this that well. I tried to make another game where I just talk to another sprite when they connect. This is the game I tried but I found some glitches that bugs out the game.

> **[converstation (extension test)](https://arcade.makecode.com/15690-84325-30042-39866)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [December 10, 2020, 8:51pm UTC](https://forum.makecode.com/t/please-help/4852/5 "2020-12-10T20:51:53Z")

</div>

This is what I would do:

1. Instead of running code in the menu selected event handler, I just set a variable to `true` saying that something in the menu was selected.
2. I would make a function that blocks until the user selected something. Then call it right after presenting the menu to the player.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/97edf43fe3233fc61e0fe1a90c7f9b86d30003bb.png)
3. The `if`s will run after the user selected a choice. Say the user selected `hello`. Then the first `if` statement would run. If the user selected `how are you` (since it’s the second choice) then it would run the second `if` statement instead. And arrays in programming are based on 0, not 1. So subtract 1 essentially.

Man those explanations were crap. Hopefully, this will help.

---

<div class="post-metadata">

**Author:** ![Wanna\_be\_coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wanna_be_coder/32/2667_2.png) [@Wanna\_be\_coder](https://forum.makecode.com/u/Wanna_be_coder)\
**Post date:** [December 10, 2020, 9:34pm UTC](https://forum.makecode.com/t/please-help/4852/6 "2020-12-10T21:34:02Z")

</div>

thank you again, your a true life savor 🙂
