on *:open:?:*: {
if (!$hget(msged,$site)) {
if (%outlawz_ss2 == on) {
splay $mircdirsounds/pm.wav
}
else { return }
hinc -m msged $site
hinc -u1 msged temp
}
}
on *:text:*:?:{
if ($active != $nick) && (!$hget(msged,temp)) splay $mircdirsounds/pms.wav
}
dialog outlawz_SS {
title "Outlawz Sounds [ /outlawz_ss ]"
size -1 -1 68 56
icon graphics/Outlawz.ico, 0
option dbu
box "Outlawz Sounds", 1, 1 2 66 53
check "Startup Sound", 3, 5 12 45 8
check "Private Msg Sounds", 4, 5 22 58 8
check "Transfer Sounds", 5, 5 32 50 8, disable
check "Pager Sounds", 6, 5 42 43 8, disable
}
on *:dialog:outlawz_SS:init:0:{
$mdx SetMircVersion $version
$mdx MarkDialog $dname
$mdx SetFont $dname 3,4,5,6 -9 400 dungeon
$mdx SetFont $dname 1 13 700 Tahoma
$dll(system\dlls\VStyle.dll,NoTheme,$dialog($dname).hwnd)
if (%outlawz_ss1 == ON) { did -c outlawz_SS 3 }
if (%outlawz_ss2 == ON) { did -c outlawz_SS 4 }
}
on 1:dialog:outlawz_ss:sclick:3: { if (%outlawz_ss1 == ON) { %outlawz_ss1 = OFF } | else { %outlawz_ss1 = ON }
}
on 1:dialog:outlawz_ss:sclick:4: { if (%outlawz_ss2 == ON) { %outlawz_ss2 = OFF } | else { %outlawz_ss2 = ON }
}