tieyiren 当前离线
列兵
color 0a :3 set /a n=t=0 for /f "tokens=3 delims==m" %%a in ('ping 61.185.133.228^|find /i "ttl="') do ( set /a n+=1 if %%a gtr 100 set /a t+=1 ) if %n% leq 1 goto 1: if %t% geq 3 goto 2: goto 3:复制代码
Python 当前离线
少校
TOP
apang 当前离线
上将
for /f "tokens=3 delims==" %%a in ('ping 61.185.133.228^|find /i "ttl="') do ( set /a n+=1 for /f "delims=m" %%b in ("%%a") do ( if %%b gtr 100 set /a t+=1 ) )复制代码