$list item

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "$list item is a Variable Function. This function will return the list item at the specified position. You can either specify the position by typing in...")
 
Line 1: Line 1:
$list item is a [[Variable Functions|Variable Function]].
+
$list item is a [[Data Functions|Data Function]].
  
 
This function will return the list item at the specified position.  You can either specify the position by typing in a position number in the functions, or you can set the position with a variable for example.
 
This function will return the list item at the specified position.  You can either specify the position by typing in a position number in the functions, or you can set the position with a variable for example.

Revision as of 15:04, 11 April 2013

$list item is a Data Function.

This function will return the list item at the specified position. You can either specify the position by typing in a position number in the functions, or you can set the position with a variable for example.

Example

clear list(%my list)
add list to list(%my list, $list from text("list item 0, list item 1,list item 2, list item 3,list item 4,list item 5", ","), "Delete", "Global")
type text(<username field>, $list item(%my list, 3), "Standard")

File:Listitem.png

Running the script will fill the field with the list item specified in the list item function.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox