Reset Account

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "Reset Account is a Data Command. This command works in conjunction with the Account Data function This command resets the account information to a new ...")
 
Line 1: Line 1:
Reset Account is a [[Data Commands|Data Command]]. This command works in conjunction with the [[Account Data|Account Data]] function
+
Reset Account is a [[Data Commands|Data Command]]. This command works with the [[Account Data|Account Data]] function
  
 
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
  
 
== Example ==
 
== Example ==
  
 
<pre>
 
<pre>
clear cookies
+
clear list(%firstnames)
navigate("google.com", "Wait")
+
loop(5) {
 +
    reset account("Male")
 +
    add item to list(%firstnames, $account data("First Name"), "Don\'t Delete", "Global")
 +
}
 +
 
 
</pre>
 
</pre>
  
Running the script will clear all cookies before navigating the specified website in the [[Navigate|navigate command]].
+
[[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.

Revision as of 17:03, 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

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