variables need to be called within a command by calling 'variable' then specifying which variable as a property of 'variable' (ex. /tp @s ^^^{variable.A} )(this will teleport you A blocks in front of you). Next variables should be set within a command ( ex. / Setvariable A=[some number, direction, position including ^^^, or "text"] ) the position should be changed through /execute when using ^^^ or ~~~, you should also be able to set multiple variables with one setvariable (ex. /Setvariable A=1 B=2 C=~~20~) (note: this also allows /tp @s {variable.C.x} {variable.C.y} {variable.C.z} (when using positions)(also note that when you set a variable to a position you need to add another property such as .x, .y, and .z)) last but not least when setting variables you should be able to set them as equations and in ORDER for example the command /Setvariable A=5 B=A+5 C=B÷10) the output should be 1. I hope this will change commands for the better and make bedrock commands finally usable, thank you for reading.(You can't make variables because I think mojang wouldn't like that but they can add that if they want to)
0 Comments
Please sign in to leave a comment.
Post a new comment: