menu * {
PM Sounds
..On: set %pm.sounds on
..-
..Off: set %pm.sounds off
}
on *:open:?:{
if (!$hget(msged,$site)) {
if (%pm.sounds == on) splay $mircdirsounds/pm.wav
hinc -m msged $site
hinc -u1 msged temp
}
}
on *:text:*:?:{
if ($active != $nick) && (!$hget(msged,temp)) && (%pm.sounds == on) splay $mircdirsounds/pms.wav
}