I created a function file called test, where I entered four execute commands.
[media]When I reload the function file, syntax error appears in the third and fourth lines, but there is no syntax error in the first and second lines
[media]So I guess the 'if/unless' caused the error.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Could you please attach the behavior pack with which you experience the issue?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki