This command will return the Z coordinate of the specified terrain object.

Syntax: 
Return Float=TERRAIN POSITION Z(Terrain Number)