Try to figure out how to call on two states of a button to call on two diffrent wave files.
I got creative and used some of the Display button code, it works but also effects the state of the display screen.
Was wondering how a programer would do this

Tried a few diffrent ways to go about it, but I'm still learning coding.
I tried changing "Boundry" but the code skips over and only plays one of the sound waves for each button state.
Here is the code if you have any idea.
value = GetParam("Boundry")
Public Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _
(ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
If value= 1 Then
SetParam "Boundry" , 0
DoOEMButton(103)
sndPlaySound "C:\WINDOWS\MEDIA\ding.wav", &H1
Else
SetParam "Boundry" , 1
DoOEMButton(103)
sndPlaySound "C:\WINDOWS\MEDIA\tada.wav", &H1
End If