Jump to content
UBot Underground

Continuous Loop From A List


Recommended Posts

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.

Link to post
Share on other sites
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 ;)

post-11097-0-18212100-1456345897_thumb.jpg

Link to post
Share on other sites

 

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. 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...