// 本轮余额已由61增至1392,翻卡已结算;从后续连续观看继续,不重复扫描/开卡。 var stopped=[]; engines.all().forEach(function(e){ if(e.id===engines.myEngine().id)return; if(!/(?:kuaishou-daily\.auto\.js|ks-video-resume\.auto\.js)$/.test(String(e.getSource()))) throw new Error('其他脚本仍在运行,不能同时操作:'+e.getSource()); stopped.push(e.id);e.forceStop(); }); var deadline=Date.now()+5000; while(engines.all().some(function(e){return stopped.indexOf(e.id)>=0;})&&Date.now()=0;}))throw new Error('旧快手引擎未退出'); engines.execScriptFile('/sdcard/脚本/快手/kuaishou-daily.auto.js',{ path:'/sdcard/脚本/快手/',arguments:{startStage:'continuousVideo'} });