So, I notice that when I place this code in the program:

Code:
action player_code()
{
   ... 

   if(my.z > 49)
   {
      beep();
   }

   ...
}



...the game beeps like crazy while the player is at my.z = 2333.827 . If I jump in the air (not stepping off a ledge), the game stops beeping while I am in the air, and resumes beeping once the player lands back on the ground.

When the player steps off a ledge and falls in mid-air, the game stops beeping while the player falls, and starts beeping again once the player lands on the ground with a my.z of 49.267 .