mIRC's /beep command will not use the PC Speaker. There is a fairly recent thread that you can find on it if you search for Speaker.