Hi, Ryan
I think you need to set an oem trigger up, In ports and pin's, Inputs, To a OEM trigger # (1-15) for your switch.
Then include that triggers oem code in your script, something sorta like this. 
If IsInputActive( OEM Trig # ) Then
   DeActivateSignal( OEM code )
Else
   ActivateSignal( OEM code )
End If 
Well it's a Start, Chip