Account Data

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
 
These pieces of account data are:
 
These pieces of account data are:
  
* Username: Returns a random username.
+
'''* Username:''' Returns a random username.
  
* Password: Returns a random password.
+
'''* Password:''' Returns a random password.
  
* First Name: Returns a random first name. (The gender is determined by the [[Reset Account]] Function)
+
'''* First Name:''' Returns a random first name. (The gender is determined by the [[Reset Account]] Function)
  
* Last Name:  Returns a random last name.
+
'''* Last Name:''' Returns a random last name.
  
* Email: Returns a random email address. (Please not that the function does not create the email accounts. It simply creates a username and adds a domain)
+
'''* Email:''' Returns a random email address. (Please not that the function does not create the email accounts. It simply creates a username and adds a domain)
  
* Gender: Returns a gender.
+
'''* Gender:''' Returns a gender.
  
* Zip Code: Returns a random US zip code.
+
'''* Zip Code:''' Returns a random US zip code.
  
* City: Returns a random US city.
+
'''* City:''' Returns a random US city.
  
* State: Returns a random US State.
+
'''* State:''' Returns a random US State.
  
* State Abbreviation: Returns a random abbreviated US state.
+
'''* State Abbreviation:''' Returns a random abbreviated US state.
  
* County: Returns a random US county.
+
'''* County:''' Returns a random US county.
  
* Birth Date: Returns a random birth date.
+
'''* Birth Date:''' Returns a random birth date.
  
* Birth Month: Returns a random birth month
+
'''* Birth Month:''' Returns a random birth month
  
* Birth Month Word: Returns a random word month.
+
'''* Birth Month Word:''' Returns a random word month.
  
* Birth Year: Returns a random birth year.
+
'''* Birth Year:''' Returns a random birth year.
  
  

Revision as of 20:40, 25 April 2013

$Account Function is an Account Function.

The function returns a piece of Account Data generated by UBot.

These pieces of account data are:

* Username: Returns a random username.

* Password: Returns a random password.

* First Name: Returns a random first name. (The gender is determined by the Reset Account Function)

* Last Name: Returns a random last name.

* Email: Returns a random email address. (Please not that the function does not create the email accounts. It simply creates a username and adds a domain)

* Gender: Returns a gender.

* Zip Code: Returns a random US zip code.

* City: Returns a random US city.

* State: Returns a random US State.

* State Abbreviation: Returns a random abbreviated US state.

* County: Returns a random US county.

* Birth Date: Returns a random birth date.

* Birth Month: Returns a random birth month

* Birth Month Word: Returns a random word month.

* Birth Year: Returns a random birth year.


Example

navigate("http://www.ubotstudio.com/playground/simple-form", "Wait")
type text(<about me textarea>, $account data("First Name"), "Standard")

File:Accountdata0.png

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")

File:Accountdata.png

To fill a list with a list of unique usernames, last names 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")
}

File:Accountdata1.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox