Stevertus / mcscript

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

Can't do anything (asat error) #41

Closed Logianer closed 2 years ago

Logianer commented 2 years ago

I wanted to to a simple asat(@e[type=marker,tag=test]){} but on compiling, i got the error

Error: Unexpected token: {"type":"kw","value":"asat"}

What should I do? I reinstalled and updated the (node) module but the error still is there...

the code that's causing the problem is:

#file: ./main
asat(@e[type=marker,tag=mei,tag=!setup]) {
  /setblock ~ ~ ~ red_shulker_box
  /tag @s add mes.setup
}