Account Data
Line 42: | Line 42: | ||
To fill a list with a list of unique usernames, lastname or any other pieces of information, simple insert the account data function in the [[Add Item to List Function|add item to list function]]. The [[Loop|loop command]] controls how many usernames are created and added to the list. | To fill a list with a list of unique usernames, lastname or any other pieces of information, simple insert the account data function in the [[Add Item to List Function|add item to list function]]. The [[Loop|loop command]] controls how many usernames are created and added to the list. | ||
− | < | + | <pre> |
loop(10) { | loop(10) { | ||
reset account("Any") | reset account("Any") |
Revision as of 18:31, 20 October 2012
$Account Function is an Account Function. The function returns a piece of Account Data generated by UBot. These pieces of account data are:
Username Password First Name Last Name Email Gender Zip Code City State State Abbreviation County Birth Date Birth Month Birth Month Word Birth Year
Example
navigate("http://www.ubotstudio.com/playground/simple-form", "Wait") type text(<about me textarea>, $account data("First Name"), "Standard")
Running the script will fill the field with a UBot generated first name.
To make sure that the field is set with a First Name each time the script runs, simply drag the reset account command into your script.
Running the script will populate the field with a new first name on each run.
reset account("Any") type text(<about me textarea>, $account data("First Name"), "Standard")
To fill a list with a list of unique usernames, lastname or any other pieces of information, simple insert the account data function in the add item to list function. The loop command controls how many usernames are created and added to the list.
loop(10) { reset account("Any") add item to list(%usernames, $account data("Username"), "Delete", "Global") }