Many code can be hard to understand when strange definitions are used or long parts of code appear multiple times in the same way.
Aliases would grab any code and save it in a name you wish. For example:
# Single line alias
/alias $creative_player = @p[gamemode=creative, tag=check]
# Multiline alias
/alias $break_specials = {
/execute as @e[
type= armor_stand,
tag= special
]
at @s
run {
/setblock ~ ~ ~ air
/kill @s
}
}
/execute if entity $creative run $break_specials
I'd like to make it require a $ sign to make it uniform, easier to find and be able to have a different color. All the variable types planned will have this rule too.