So,i'm making an terror gamer that changes the computer of the player, like White Face. So, i want to detect when the PC/Windows is turned on with an offline api ( or plugin ( which is used a lot in idle games ) ) to detect it, but, i don't know none that can do this. So, if you have some ideas or can help me, just comment!
The objective is: Detect if the PC/Windows was turned on ( when he was shutdown by the game ), and, open the game automatically.
(I just need an event to detect it while the game is closed. To open the game is an easy one code.)