Reset Account

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
  
 
This command resets the account information to a new account information.  
 
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  
+
Expanding the options in the command allows you to determine if the account data should be specific to sex or is sex is irrelevant.
 +
 
 +
 
  
 
== Example ==
 
== Example ==

Revision as of 17:06, 22 March 2013

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 sex or is sex is irrelevant.


Example

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

File:Resetaccount.png

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:

File:Reset2.png

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