I'm trying to recompile the scripts in AQFH 3, and I can't get one of the scripts to save. It says invalid begin/end on line 10. The issue is an else command. Can someone help me rewrite the script so it will still function and can save?
Here is the script
Scn HV3PmL4PhaserCore01SCRIPT
Begin OnLoad
;If HV3PmL4Phaser01CtrlRef.Getdisabled == 0 ; commented out missing REF
HV3PmL4PhCore01Ref.Playgroup forward 1
HV3PmL4PhCore02Ref.Playgroup forward 1
HV3PmL4PhCore03Ref.Playgroup forward 1
HV3PmL4PhCore04Ref.Playgroup forward 1
Else
HV3PmL4PhCore01Ref.Playgroup backward 1
HV3PmL4PhCore02Ref.Playgroup backward 1
HV3PmL4PhCore03Ref.Playgroup forward 1
HV3PmL4PhCore04Ref.Playgroup forward 1
Endif
End
Any help would be appreciated