Is it possible to calculate the square root of a number with MQ?
When calculating a distance the Z axis is not used by default, wich makes the distance for ranged events inaccurate.
I was then thinking that it doesn't matter, cause I just calculate the actual distance myself, but this requires the ability to calculate the square root.
/echo Actual distance: $calc($target(distance)+$calc(sqrt($target(distance)^2-$target(distance,z)^2)))


