Under main:
//Monitor Power
level thread MonitorPower();
The actual function:
function MonitorPower()
{
level flag::wait_till("initial_blackscreen_passed");
level util::set_lighting_state(0);
level flag::wait_till("power_on");
level util::set_lighting_state(1);
}
Subscribe - http://www.youtube.com/user/program115?sub_confirmation=1
Twitter - https://twitter.com/Program1151
Twitch - http://www.twitch.tv/program115
Thanks for watching the video!