|
i982 Newbie
Joined: 20 Oct 2017 Posts: 4
|
Posted: Fri Oct 20, 2017 5:06 am
Star Roller Problem |
ok my stat roller works great but im trying to attach a sound file to it when i get desired stats so i know to look at other monitor.
#if (@myavg >= 96) {
#if (@count >=4) {#echo "GOT DEM STATS!"} {#send y}
} {#send y}
this is what i have. id like my sound file to trigger off of the echo or be able to add it in the variable i have is:
name: statalarm
value: {C:\Windows\Media\Alarm01.wav}
so i thought this is would work
#if (@myavg >= 96) {
#if (@count >=4) {#echo "GOT DEM STATS!"} {#send y}
} {#send y}
#then (@statalarm) {
}
but it doesnt work with the added alarm variable. the variable works but it just spams it every time it rerolls
any suggestion on a better way to add the sound file? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri Oct 20, 2017 7:51 am |
Not sure why you are bothering with the count when you are only looking at numbers bigger than 4.... i would ditch that and just use:
#if (@myavg >= 96) {
#echo "GOT DEM STATS!"
#PLAY "C:\Windows\Media\Alarm01.wav"
} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
i982 Newbie
Joined: 20 Oct 2017 Posts: 4
|
Posted: Wed Nov 01, 2017 6:40 am stat roller |
the reason for the count for 4 is because im trying to get 4 different stats that are 96 or better
|
|
|
|
|
|