just try

Code:
void main(){
  wait(1);
  beep();
}


if this works i'm guessing you've not set mouse_mode, so there's no recognition of the mouse being over the panel