Here's the block of code I tried to use. It works with his sound file.
PHP Code:
if ($newpm['messages']==0) {
$lightbulb='off';
} else {
$lightbulb='on';
}
function make_seed() {list($usec, $sec) = explode(' ', microtime());return (float) $sec + ((float) $usec * 100000);}
srand(make_seed()); $srand_code = rand (1,10);
$wav_file='sound'.$srand_code.'wav';
//new PM sound hack
if ($unreadpm['messages']==0) {
$sound='';
} else {
$sound='<embed src="$wav_file" autostart="true" hidden="true">';
}
//end new PM sound hack
Yeah, it's been a while.

The wife just gave birth to twin boys about 4 weeks ago. She was on complete bedrest for the last couple of months of the pregnancy, due to complications, so I was taking care of her and our 5-year-old.