yea i ran it through FPI Edit pad
and it helped me understand stuff more, cause i knew what you were talking about wheen u said i did it wrong or w.e but i wanted to know how to not only fix it, but understand why it was wrong.
this is the final script and i ran it through fpi edit pad and it said everything was good on my newest update
here it is:
;Artificial Intelligence Script
;Header
desc = Light Toggle on/off by enter key(On By Default)
;Triggers
:state=0:state=1
:state=1,activated=1:lighton,state=2
:state=2,plrdistwithin=100:state=3
:state=2,plrdistfurther=100:state=1
:state=3,scancodekeypressed=28:state=4
:state=4:lightoff,state=5
:state=5,plrdistwithin=100,scancodekeypressed=28:state=2
:state=5,plrdistfurther=100:state=4
;End of Script
i just had to change were my ( : )'s and ( , )'s were to end conditions and start actions, and so forth.
im gonna fpsc test it when new years is over cause i have people coming over in 10 min.
Happy New Years Btw
If you don't try, you fail.