$list shuffle

Allows you to rearrange the order of the list items.


Example

Running this code will add "A B C" to the list named "%test1", then the "%test2" will shuffle the order of "%test1".

This is shown in the UBot browser.

add item to list(%test1,"A","Delete","Global")
add item to list(%test1,"B","Delete","Global")
add item to list(%test1,"C","Delete","Global")
clear list(%test2)
add list to list(%test2,$plugin function("Data and Files Automation.dll", "$list shuffle", %test1),"Delete","Global")

Was this helpful?

Previous Article

$list reverse

Next Article

$list sort