$list insert

Allows you to insert a given element at a given index in a list.


Example

Running this code will add the text "We've done everything we can to make UBot Studio as easy to learn as possible. Now it's up to you. Make an investment into yourself. Start small with a few hours of training and watch as your potential unfolds." to the list "%List1".

The text "555+" will be added to the start of "%List1".

This is shown in the alert box.

add list to list(%List1,$list from text("We\'ve done everything we can to make UBot Studio as easy to learn as possible. Now it\'s up to you. Make an investment into yourself. Start small with a few hours of training and watch as your potential unfolds."," "),"Delete","Global")
alert($plugin function("Data and Files Automation.dll", "$list insert", %List1, 0, "555+"))

Was this helpful?

Previous Article

$list get range

Next Article

$list insert range