If you still can't get it to work...this is my "old & faithful" script change that works for me on my VirtuaPin setup.
'**********
' Keys
'**********
Sub Table1_KeyDown(ByVal keycode)
If KeyDownHandler(keycode) Then Exit Sub
If keycode = RightFlipperKey Then Controller.Switch(57) = 1
If keycode = LeftFlipperKey Then Controller.Switch(58) = 1
If keycode = "23" Then Rules 'it uses the i key for rules since the R is used for the red color
If keycode = LeftTiltKey Then LeftNudge 60, 1, 20:PlaySound "nudge_left"
If keycode = RightTiltKey Then RightNudge 300, 1, 20:PlaySound "nudge_right"
If keycode = CenterTiltKey Then CenterNudge 0, 1, 25:PlaySound "nudge_forward"
If keycode = 45 Then LeftNudge 80, 2, 30:PlaySound "nudge_left"
If keycode = 52 Then RightNudge 280, 2, 30:PlaySound "nudge_right"
If keycode = 42 Then Controller.Switch(60) = 1:Exit Sub
If keycode = 29 Then Controller.Switch(61) = 1:Exit Sub
If keycode = 157 Then Controller.Switch(62) = 1:Exit Sub
If keycode = 54 Then Controller.Switch(63) = 1
If keycode = PlungerKey Then
If keycode = PlungerKey Then PlaySound "PlungerPull":PlungerIM.Pullback:Pcount = 0:PTime.Enabled = 1:Plunger.TimerEnabled=0
End If
End Sub
Sub Table1_KeyUp(byval Keycode)
If KeyUpHandler(keycode) Then Exit Sub
If keycode = RightFlipperKey Then Controller.Switch(57) = 0
If keycode = LeftFlipperKey Then Controller.Switch(58) = 0
If keycode = 42 Then Controller.Switch(60) = 0:Exit Sub
If keycode = 29 Then Controller.Switch(61) = 0:Exit Sub
If keycode = 157 Then Controller.Switch(62) = 0:Exit Sub
If keycode = 54 Then Controller.Switch(63) = 0
If keycode = PlungerKey Then
If keycode = PlungerKey Then StopSound "PlungerPull":PTime.Enabled = 0:Pcount = 0:PTime2.Enabled = 1:PlungerIM.Fire:Plunger.TimerEnabled = 1
End If
End Sub