You had one too many braces in the above code you showed me. ^^ I've modified it slightly.

You was after $notify($nick).note

Hope this helps.

Code:
on 1:NOTIFY: { 
  if (%echo.notify == on) { 
    echo -a $timestamp %logo Your friend $nick is on IRC. $+($chr(40),$notify($nick).note,$chr(41))
  }
  if (%sounds == on) {      
    if (%s.notify.on == on) {    
      splay sounds\12.notify.wav   
    }    
  } 
}


All the best,

Andy.