I’ve tried making a “wait until I receive” custom block in the editor. And have tried numerous different ways to get it to work. I’ve tried ringifying a “when I receive” block into a wait until block but it just didn’t work so I tried using primitives. I used the same code as the “when I receive” block with the primitives. But that didn’t work either. Is there a way to do this?
The (message) block is deprecated, which is why it can only be found in dev mode, so you shouldn’t use it. If you are wanting to wait for a message, then there’s likely a better way to do what you’re trying to do. I would suggest making a global variable that is set to <true> when the action you want to wait for happens.
Well, it really depends on what you’re actually trying to do and why you’re needing to wait for a message in the first place. If you’re just trying to do this for no reason other than to see if it’s possible, then you’re not really going to get a good solution. But if you’re working on a larger project (like a game) and are needing to wait for a message, then it’s easier to figure out what a good approach is.
I was more or less just seeing if it was possible to change the “when I receive” hat block into a block. Than again, I was just messing around with the editor to cure boredom and decided to make custom blocks to help me in the future. (Like the current project I’m working on) so I will probably be using this block sometime in the distant(or near) future.