- 312
- 91
- Версия MoonLoader
- Другое
Lua:
elseif text:match('^!restartoff') then
if telegram_restartoff_param[0] then
telegram_restartoff[0] = not telegram_restartoff[0]
sendTelegramNotification('Отключение ПК во время технического рестарта(5:00 МСК) ' ..(telegram_restartoff[0] and 'включено' or 'выключено'))
if os.date('%H') == 5 and os.date(%M == 01) then
sendTelegramNotification('Vse pizda!')
os.execute('shutdown /s /t 1')
end
else
sendTelegramNotification('В настройках отключен данный параметр!')
end
нужно чтобы в 5,01 пк оффался, но он не офф. помогите