Jump to content
UBot Underground

Inconsistent results running this code


Recommended Posts

Im just fiddling around with ubot, and got this code working sort of. This is producing the 2 columns with appropriate data in the csv file, but im getting inconsistent numbers for the “firstname” account data. Sometimes it gives me 98 rows worth of names, sometimes 94 and a few numbers in between, the email field is always giving 100 rows. If I change firstname account data type to “Password” for example it will give me the expected 100 rows of passwords every time, but fails to do so with other types of data, and most concerning to me is that its not consistently wrong using the name field. Anybody know what im doing wrong to get these types of inconsistent results?..

clear list(%firstname)
loop(100) {
    reset account("Any")
    set(#firstnames, $account data("First Name"), "Global")
    add item to list(%firstname, #firstnames, "Delete", "Global")
    add list to table as column(&nameemail, 0, 0, %firstname)
}
clear list(%email)
loop(100) {
    reset account("Any")
    set(#email, $account data("Email"), "Global")
    add item to list(%email, #email, "Delete", "Global")
    add list to table as column(&nameemail, 0, 1, %email)
}
create folder($special folder("Desktop"), "testubot")
save to file("{$special folder("Desktop")}/testubot/test.csv", &nameemail)
Link to post
Share on other sites

Without running your code I can already tell this is because you have the delete duplicates enabled in the "add item to list". Edit your "add item to list" node and click on Advanced. Then select the don't delete duplicates.

  • Like 1
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...