Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
rt
在循环里添加判断达到一定次数后暂停一定时间后继续执行
这个要怎么写呢?
不就是sleep
@泽民 auto(); console.show() var i=0;ii=0;
while (i<100) { i++;ii++; if (i <= 50) { print("该数字不大于50为"+i) } else { print("该数字大于50为"+i) } if (ii>=10) //变量ii记录运行次数,每达到10次暂停5秒,然后继续执行循环 { ii=0; print("运行了10次,停5秒再重新计数") sleep(5*1000) } }
@泽民 -1s
我这吊炸天的ip
与 Auto.js 的连接断开,我们正在尝试重连,请耐心等待