It's probably best for me to just explain what I have in mind and maybe one of ya'll nice people can write me a function for it?

Here is what I need: A trigger_ff_script, that is only triggered by an enemy emp, after being triggered it will open a doorhack which will disable some lights. To close out the function I also need it to have another trigger_ff_script that is very similar to dropdown in that it takes a few hits from the teams engineer with the spanner to restore.
I reworked the code from my previous post and I cannot seem to get it to work at all, so I'm giving up on it and asking for help.