Can't you just turn off beeps in mIRC's options?

That said, I think haltdef would be more appropriate (tho I have not tested it and I'm not positive if the beeps are considered a "default" action).