Znaper, I've tried your hack in my forum, but if someone reads the PM and returns to main page, the .wav sounds again.
The unic way to disable it is mark all forums read just exiting Private Message Forum, and this is a little bit annoying.
Can we use the $pmsound variable just at the beggining of Head_newpm like:
Code:
<script language="JavaScript">
<!--
function confirm_newpm() {
$pmsound
input_box=confirm("
?
Excuse my English and my "code", but I've never written PHP code (I think It's gonna be obvious)