Add Item to List

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
  
 
'''Item to Add:''' The item being added to the list.
 
'''Item to Add:''' The item being added to the list.
 +
 +
 +
Clicking the Advanced option on the command expands and reveals another option.
  
 
The settings on the command allows you to:
 
The settings on the command allows you to:
  
Delete Duplicates: Allows you to set deleting duplicates in a list to Delete or Don't Delete
+
*Delete Duplicates: Allows you to set deleting duplicates in a list to Delete or Don't Delete
  
List Scope: Allows you to decide if you want your list to be local to the command or script it is inside or global to the entire bot.
+
*List Scope: Allows you to decide if you want your list to be local to the command or script it is inside or global to the entire bot.
  
  

Revision as of 19:09, 24 April 2013

Add Item to List is a Data Command.

This command will append an item to the end of a list.

List To Add To: the list the item will be added to.

Item to Add: The item being added to the list.


Clicking the Advanced option on the command expands and reveals another option.

The settings on the command allows you to:

  • Delete Duplicates: Allows you to set deleting duplicates in a list to Delete or Don't Delete
  • List Scope: Allows you to decide if you want your list to be local to the command or script it is inside or global to the entire bot.


Example

add item to list(%firstnames, "Marilynn", "Delete", "Global")


The script above will append the name Marilynn to the end of the list %firstnames.


File:Item.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox