$next list item

From UBot Studio
Revision as of 23:45, 9 October 2012 by LillyT (Talk | contribs)

Jump to: navigation, search

This function retrieves the next item in a list. Lists have internal position counters to keep track of where you are.

This function will return the list item at the list's current position, and then increment the list's position by one. This function is the easiest way to loop through a list sequentially (from position 0 to the end of the list). Given a list containing the numbers 1-25, we will loop through the list using the $next list item function:

File:Nextlistitem.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox