denrich 4 Posted February 24, 2016 Report Share Posted February 24, 2016 Anybody knows how to script a continuous loop from a list. Meaning the loop continues after it hit the last item from a list it restarts back to the first item from that same list to continue looping. This would be a list of proxies.Thanks. Quote Link to post Share on other sites
UbotBuilders 0 Posted February 24, 2016 Report Share Posted February 24, 2016 loop(100) { change proxy("PROXYDETAILS") if($comparison($list position(%PROXYDETAILS), "=", $list total(%PROXYDETAILS))) { then { set list position(%PROXYDETAILS, 0) } else { } }} Attached is an image as well.Hope this helps Quote Link to post Share on other sites
denrich 4 Posted February 24, 2016 Author Report Share Posted February 24, 2016 loop(100) { change proxy("PROXYDETAILS") if($comparison($list position(%PROXYDETAILS), "=", $list total(%PROXYDETAILS))) { then { set list position(%PROXYDETAILS, 0) } else { } }} Attached is an image as well. Hope this helps Thanks ubotbuilders, It helped and solved my problem. Quote Link to post Share on other sites
UbotBuilders 0 Posted February 25, 2016 Report Share Posted February 25, 2016 My pleasure! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.