#CharPosZ is your character’s height in the world, the Z coordinate. Ground level is usually around 0;
upper floors and hills are higher.
Example
Section titled “Example”if #CharPosZ > 20 display ok You are upstairs.haltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.