botarded 1 Posted September 8, 2013 Report Share Posted September 8, 2013 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) Quote Link to post Share on other sites
Gogetta 263 Posted September 8, 2013 Report Share Posted September 8, 2013 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. 1 Quote Link to post Share on other sites
botarded 1 Posted September 8, 2013 Author Report Share Posted September 8, 2013 Thank you sir. That's exactly what it was and now that you pointed it out, easy to see why this didn't happen when I had account data set to passwords. 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.