Loop

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command repeats the contained commands a specified number of times. == Example == <pre> set(#number, 0, "Global") loop(10) { increment(#number) add item to lis...")

Revision as of 18:34, 24 December 2012

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

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