You are not using the proper format for the conditions and actions.
:CONDITION,CONDITION:ACTION,ACTION
The line starts with a colon. ( you got that right )
Lets looks at the first line....
:state=0, NOISEHEARD= , state=1
It should read...
:state=0,noiseheard=5:state=1
See how the second colon separates the conditions and actions?
Commas separate two conditions or they separate two actions.
Only the colon can separate the conditions from the actions.
What is state=1 about?
:state=1, LOOKATPLR=360, state=2
LOOKATPLR=360 ... what the heck is that?
do you mean ... ROTATETOPLR ?
If so that action could be added to state=0 and skip state=1 like so...
:state=0,noiseheard=5:rotatetoplr,state=2
NOTE that it was added to the right of the second colon because it is an action.
If it were a condition then it would be to the left of the second colon.
You need to look in the scripts that came with FPSC.
Look in the following folder for examples of basic fpi scripting...
...\FPS Creator\Files\scriptbank\people