I'm having trouble getting my water script working and I can't seem to get it right any clues?
;Artificial Intelligence Script
;Header
desc = setup water
;Triggers
:PLRWITHINZONE:STATE=0
:STATE=0:water=1,waterfogdist=2000,waterheight=400,STATE=1
:STATE=1,TIMERGREATER=2000:water=1,waterfogdist=2000,waterheight=420,STATE=2
:STATE=2,TIMERGREATER=4000:water=1,waterfogdist=2000,waterheight=440,STATE=3
:STATE=3,TIMERGREATER=6000:water=1,waterfogdist=2000,waterheight=460,STATE=4
:STATE=4,TIMERGREATER=8000:water=1,waterfogdist=2000,waterheight=480,STATE=5
:STATE=6,TIMERGREATER=10000:water=1,waterfogdist=2000,waterheight=500,STATE=0
;End of Script