mugglu 1 Posted December 24, 2014 Report Share Posted December 24, 2014 hi all I'm creating a bot for account creation everything is working fine but I stacked at submitting same email address in two form.for first one I'm using $next list item which pull email address from a texT file but I can not figure out how to submit the same email address in next one which is confirm email from 1 Quote Link to post Share on other sites
UBotDev 276 Posted December 24, 2014 Report Share Posted December 24, 2014 Store "$next list item" into a variable first (set command), then fill the fields with that variable... 1 Quote Link to post Share on other sites
mugglu 1 Posted December 24, 2014 Author Report Share Posted December 24, 2014 hi thanks for the idea just one thing it does not work with $next item list it just pull data from first line over and over i'm using $random list item here is my script loop(100) { set(#username, $account data("Username"), "Global") type text($element offset(<username field>, 1), #username, "Standard") change dropdown(<birth month dropdown>, "Random - Skip First Choice") change dropdown(<birth day dropdown>, "Random - Skip First Choice") change dropdown(<birth year dropdown>, "Random - Skip First Choice") type text($element offset(<password field>, 1), "Password", "Standard") type text($element offset(<password field>, 2), "Password", "Standard") add list to list(%emaill, $list from file("D:\\email.txt"), "Delete", "Global") set(#email, $random list item(%emaill), "Global") type text($element offset(<email field>, 0), #email, "Standard") type text($element offset(<email field>, 1), #email, "Standard") type text($element offset(<username field>, 2), $solve captcha(<id="recaptcha_challenge_image">), "Standard")} any idea how to fix it Quote Link to post Share on other sites
abbas786 78 Posted December 24, 2014 Report Share Posted December 24, 2014 Here is the fix, add list to list must be out side of the loop add list to list(%emaill, $list from file("D:\\email.txt"), "Delete", "Global") Loop(100) { set(#username, $account data("Username"), "Global") type text($element offset(<username field>, 1), #username, "Standard") change dropdown(<birth month dropdown>, "Random - Skip First Choice") change dropdown(<birth day dropdown>, "Random - Skip First Choice") change dropdown(<birth year dropdown>, "Random - Skip First Choice") type text($element offset(<password field>, 1), "Password", "Standard") type text($element offset(<password field>, 2), "Password", "Standard") set(#email, $random list item(%emaill), "Global") type text($element offset(<email field>, 0), #email, "Standard") type text($element offset(<email field>, 1), #email, "Standard") type text($element offset(<username field>, 2), $solve captcha(<id="recaptcha_challenge_image">), "Standard") } 1 Quote Link to post Share on other sites
mugglu 1 Posted December 24, 2014 Author Report Share Posted December 24, 2014 thanks 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.