@SC: Gave that script a try in a trigger zone, and nothing happening there either. No worries, I am sure you have other things to deal with then the flashlight right now.
Let me attach it to an entity. Maybe I should get my glasses fixed so I can read the complete instructions.
I applied this to the stock torch in WW2. and used the below script. Still not functioning.
;Header
desc = flashlight
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupanitem.tga,hudname=itemprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=40:state=1,playertake,coloff,plrsound=audiobank\misc\ping.wav,hudshow=itemprompt,hudfadeout=itemprompt
:state=1:state=11,rundecal=5
:state=11,keypressed=33 1:etimerstart,state=12
:state=12,etimergreater=500:etimerstop,flashlight=1,state=13
:state=13,keypressed=33 1:etimerstart,state=14
:state=14,etimergreater=500:etimerstop,flashlight=0,state=10
Did not know we had an etimerstop action.