Stevertus / mcscript

A programming language for Minecraft Vanilla
https://mcscript.stevertus.com
MIT License
233 stars 16 forks source link

Issue with watch and booleans in if #44

Open birran237 opened 1 year ago

birran237 commented 1 year ago

When I use mcscript watch in the terminal, after defining a variable, it tells me that the variable has already been defined, when it’s the only line of code. However, when I use mcscript compile instead, it gives me no error.

Apart from that, when I put a Boolean into an if,it doesn’t parse well the command. But when I negate it, it works correctly, here’s an example: Mcscript code: If(ready @s){ Run say hi } The output is: Execute if ready run say hi when it should be: Execute if entity @s[tag=ready] run say hi. But when negated, it gives the proper unless statement

Zach-Tolentino-161 commented 1 year ago

MCScript has no more support.