When using /execute try, it will run the command within the first set of parenthesises, and if it fails, then anything in front of else will run, but if not, anything in front of then will run. For example:
/execute try (run kill @a[distance=..5]) then (run say Killed a player!) else (run say There were no players to kill!)
So this could make some pretty amazing creations in my opinion. Please also find a way to add the new execute to bedrock, because it is one of the most useful commands! Maybe you could have a way to enable 1.16.201 commands for marketplace maps so that they don't break with the update!
Please sign in to leave a comment.
1 Comments