Loop

From UBot Studio
Revision as of 15:47, 24 April 2013 by LillyT (Talk | contribs)

Jump to: navigation, search

This command is a Flow Command. This command repeats the contained commands a specified number of times.

Number of Cycles: determines the number of cycles the containing commands will be looped.

Example

set(#number, 0, "Global")
loop(10) {
    increment(#number)
    add item to list(%my numbers, #number, "Delete", "Global")
}


The script loops the process of incrementing the variable #number and adding each number to the list as an item.


File:Loop.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox