ifceilingdistl <number>
Checks if the current actor is less than <number> shifted left 8 units away from the actor's sector's ceiling. That is, one <number> unit corresponds to 16 x/y BUILD units.