Public feed
#601863
@echo off
REM Avvisa quando si riceve uno 'You stopped harvesting!!'
REM Ctrl-C per uscire
for /F "tokens=3" %%i in ('find /C "You stopped harvesting" chat_log.txt') do set last_cnt=%%i
set last_time=%TIME:~6,2%
:loop
ping 127.0.0.1 -n 30 -w 1000> nul
for /F "tokens=3" %%j in ('find /C "You stopped harvesting" chat_log.txt') do set cnt=%%j
if %cnt% GTR %last_cnt% (
set last_cnt=%cnt%
cls
echo.
echo.
echo Harvesting time!!
for %%k IN (,,,,,,,,,,,,,,,,,,) do echo %%k
)
goto loop