Why is my code not triggering/working?

My blocks aren’t working. I am trying to have a button press change the scene. That works. The data its receiving at the new scene is bj (for blackjack) correctly. But in the if/else statement its not working not triggering either the if or the else and I don’t know what to do. Here is the code, I want it to broadcast play but its not.

Script pic:

Solution:

I added a show block at the start of the when I receive block. I used say blocks to see where it was getting cut off and it did not work. But in Snap! if its hidden it wont show it.

could you send a script pic? (right-click the script and select “script pic…” then paste the picture in your post)

please give a project link. Otherwise, maybe check what (DATA) is.

its bj like I wanted

Ok

I’m sorry, but my brain is not able to understand this sentence (i sound like ai moment)
Can there be a project link?

I dont know how to do this. Because it is not complete how would I send it to you or what not

You need a minimal reproducible example of your problem.
Share this project and post a link to it.
And describe steps to proceed and expected result.

Ok. Anyway I fixed it.

just a tip:
if you fix something, it might be helpful for people who encounter the same problem as you in the future if you posted your solution

Ok

by giving the link

ok