Jump to content
UBot Underground

Increment List In A Loop Help


Recommended Posts

Hi peeps , i'm having trouble with something since yesterday and i can't seem to fing the answer

The bot loops the total amount of lines from a list that are the titles and goes to some specific sites and uses users and passes from columns that i've aded to lists

For the user and pass i'm using an increment command as well for the titles

Users\passes are inside a loop and the amount of loops is given by the titles list total wich is greater than the user/pass list total

How can i make the users/pass start over when it finishes using all the lines ?

Link to post
Share on other sites

Hi,

 

set list position: will reset the list.

 

 

You can use it in an outer loop or in a "loop while". An outer loop will let you control how many times(by integer or list) or a duration of time.

loop while(#loopwhile) {
    clear list(%user pass)
    add list to list(%user pass,$list from text("nanme 1:pass 1
nanme 2:pass 2
nanme 3:pass 3
nanme 4:pass 4",$new line),"Delete","Global")
    loop($list total(%user pass)) {
        set(#NLI,$next list item(%user pass),"Global")
        wait(1)
    }
    set list position(%user pass,0)
}
ui check box("Endless loop",#loopwhile)
ui stat monitor("current user: {#NLI}","")

You can use a button instead as well. ie button changes 0 to 1(on/off) or true to false.

 

Regards,
Nick

example -- loopwhile-continuous.ubot

Link to post
Share on other sites

You should check and "set list position" of %user and #pass to 0 at the end of the loop - still inside the loop:

loop(#titles) {
    set(#pos,$list position(%user),"Global")
    comment("At the end of the loop add:")
    if($comparison(#pos,"= Equals",10)) {
        then {
            set list position(%user,0)
            set list position(%pass,0)
        }
        else {
            increment(#pos)
        }
    }
}
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...