$random

Allows you to generate random numbers.


Example

Running this code will generate numbers from "1 - 100.9", adding it to the list named "%num", repeating the loop for 30 times. After, the HTML will load with the randomized numbers listed.

This is shown in the UBot browser.

loop(30) {
    add item to list(%num,$plugin function("Data and Files Automation.dll", "$random", 1.0, 100.9, "Double", 0.0),"Don\'t Delete","Global")
}
load html($plugin function("Data and Files Automation.dll", "$nl to br", %num))

Was this helpful?

Previous Article

$number to words

Next Article

$read file 2