you might want to clear the mouse buffer too. Unless your the flash with those fingers!
Place this toward the bottom of your loop. It may not be the only issue but it wont hurt either.
DO:LOOP WHILE _MOUSEINPUT
that way there are no extra button clicks in there.
As the IF states mousebutton
AND mb=0 the else doesn't really matter unless there is an extra button press to
AND with it. Nowif it was an OR then multiple beeps can ensue(though it would be more than 2)
what I am trying to say is FALSE and TRUE don't pass go. so if no mouse click and MB=0 you can't beep.
(and mousebutton returns 0 or -1)
Because (0 AND 0) might just be true!
You were joking right Bplus!??
STxAxTIC, I take it you mean you click on that area ONCE and get TWO beeps? or do you mean you click on the area multiple times and still get a beep??