Reset Account

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 7: Line 7:
 
'''Gender for Account:''' Refers to the creation of gender specific user accounts.  
 
'''Gender for Account:''' Refers to the creation of gender specific user accounts.  
  
*Any: Will produce user accounts that are a mixture of both males and females.
+
*Any: creates user accounts that are a mixture of both males and females.
  
*Male: Will create only male user accounts
+
*Male: creates only male user accounts
  
*Female: Will create only female user accounts.
+
*Female: creates only female user accounts.
  
  
Line 27: Line 27:
 
</pre>
 
</pre>
  
[[File:resetaccount.png]]
+
[[File:rstacc.jpg]]
  
  
Line 38: Line 38:
  
  
[[File:reset2.png]]
+
[[File:rstacc0.jpg]]
  
  
 
The Reset Account command resets the account data function, which then gives you a new piece of username each time the loop cycles.
 
The Reset Account command resets the account data function, which then gives you a new piece of username each time the loop cycles.

Latest revision as of 00:03, 26 December 2016

Reset Account is a Data Command. This command works with the Account Data function

This command resets the account information to a new account information.

Expanding the options in the command allows you to determine if the account data should be specific to gender or if gender is irrelevant.

Gender for Account: Refers to the creation of gender specific user accounts.

  • Any: creates user accounts that are a mixture of both males and females.
  • Male: creates only male user accounts
  • Female: creates only female user accounts.



[edit] Example

clear list(%firstnames)
loop(5) {
    reset account("Male")
    add item to list(%firstnames, $account data("First Name"), "Don\'t Delete", "Global")
}

Rstacc.jpg


Running the script above will populate the list with 5 male first names. Notice that the Reset Account command is inside the loop.

If the Reset Account command had been placed outside of the loop, the result of the list after setting delete duplicated to "Don't Delete" would be the following:


Rstacc0.jpg


The Reset Account command resets the account data function, which then gives you a new piece of username each time the loop cycles.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox