The idea i'm stuck with is the following:
I want to have a script that runs continuously (i.e. while loop) when the game runs. The ideia is that it's listening for certain inputs (using the SKSE input functionalities) and once they are pressed, it triggers an event in the game world. A simple example would be:
while(true){
if isKeyPressed('0')
killLightsInRadius(20)
elif
...
}
The part I'm not sure how to do is making the script run as soon as the game is loaded.. I understand that you can make a script run if you attach it to a quest (or any other thing for that matter), but as you've seen this is not what I had in mind. This is probably a stupid question, but thanks for your help anyway

