Currently we only have the basic if syntax for doing conditions. We want to be able to have more control over the underlying execute command.
One idea is maybe to have something like:
if `entity @s[tag=foo]` {
...
}
Another idea is to add trailing lambda syntax for compile time functions, allowing for the standard library to provide:
&execute(`if entity @s[tag=foo]`) {
...
}
Currently we only have the basic
ifsyntax for doing conditions. We want to be able to have more control over the underlying execute command.One idea is maybe to have something like:
Another idea is to add trailing lambda syntax for compile time functions, allowing for the standard library to provide: