Account Data

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 24: Line 24:
 
* County
 
* County
  
Birth Date
+
* Birth Date
  
Birth Month
+
* Birth Month
  
Birth Month Word
+
* Birth Month Word
  
Birth Year
+
* Birth Year
  
  

Revision as of 18:15, 14 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
  • 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")

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

File:Accountdata1.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox