Replace List Item

From UBot Studio
Revision as of 17:49, 6 June 2015 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This command is an Advanced List command. This command will replace a list item at a specified position.

List: List containing item being replaced.

Position: Position of the item that is being replaced.

New Item: The new item replacing the removed item.

Example


clear list(%my list)
add list to list(%my list,$list from text("blue,white,green,yellow,purple house",","),"Delete","Global")
replace list item(%my list,2,"black","Global")


The list item located at position 2 on the list is "green".


Running the command will remove the list item "green" and replace it with the new list item "black".


Rli.jpg

Here is the list before the command is run.


Rli0.jpg


Here is the list after the command is run.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox