Oke, here I have copied the last piece of code, include the line for the wav file. Is thit correct?

.$_(ps016): query $$input($_(cp005),129)
.$_(ps017): nick $$input($_(cp007),129)
$iif($server,$_(pa000))
.$iif($away == $false,$_(pa001)): awayon
.$iif($away,$_(pa002)): awayoff
.-
.$_(pa003): var %tmp = $shortfn($logdir) $+ awaylog.txt | if ($exists(%tmp)) { run %tmp } | else { fx comply | a $^err $_(ca000) | h }
.$_(pa004): write -c $shortfn($logdir) $+ awaylog.txt
.$_(pa005): ctrl 8
.-
.$_(BPHelp): hlp away
$iif($server,$_(ps018): list)
-
$iif($server,$_(ps019)): quit
}


;EOF
on 1:JOIN:#Channel: {if ($nick != $me) {splay path to wav;i.e splay C:\mirc\system\sound\notify.wav}}