scancodekeypressed implements that... well, you pressed a specified scancodekey ?
depends on the flashlight-script and how it is build. of course you can trigger this with zones or timer, using variables or activates. but it maybe a bit complicated, as said, depends on how the flashlight works and how it is build.
while i think that the need to press the button twice is a nice concept of coursing a little panic, as in real when your flashlight turns off in a strange situation, i bet you will hit it 5-10 times when it doesnt react with the first click.^^