$list item

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
  
 
'''List:''' The desired populated list where the list item will be pulled from.
 
'''List:''' The desired populated list where the list item will be pulled from.
 +
 +
 +
'''Position:''' The position of the list item being pulled from the list.
 +
  
 
== Example ==
 
== Example ==

Revision as of 22:06, 26 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.


List: The desired populated list where the list item will be pulled from.


Position: The position of the list item being pulled from the list.


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