$random list item

From UBot Studio
Revision as of 19:05, 13 October 2012 by LillyT (Talk | contribs)

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

$random list item is a Variable Function. This function will return a random list item from a specified list each time it is run.


Example

add list to list(%my list, $list from text("list item 1, list item 2,list item 3, list item 4,list item 5,list item 6", ","), "Delete", "Global")
set list position(%my list, 0)
loop($list total(%my list)) {
    alert($random list item(%my list))
}


The random list item function will allow to alert command to pop up with a new list item each time a cycle is run in the loop.

File:Random.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox