Add List to List

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "Add List to List is a Data Command. This command will append a list to the end of a list. The settings on the command allows you to: Delete Duplicates: A...")
 
(Example)
Line 20: Line 20:
  
  
The script above will append the list in the $[[list from text function]]
+
The script above will append the list in the [[$list from text]] function to the end of the list name %one.
  
  
 
[[File:addlisttolist.png]]
 
[[File:addlisttolist.png]]

Revision as of 18:39, 22 March 2013

Add List to List is a Data Command.

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

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 list to list(%one, $list from text("apples,persimmons,kiwi,figs,cashew", ","), "Delete", "Global")
add list to list(%one, $list from text("soursop,blackberries,pomegranates,oranges,melon", ","), "Delete", "Global")


The script above will append the list in the $list from text function to the end of the list name %one.


File:Addlisttolist.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox