$Pop

From UBot Studio
Jump to: navigation, search

This function is an Advanced List function. This command removes and returns the last list item.

List: List of items being used by the pop function

Example


clear list(%my list)
add list to list(%my list,$list from text("blue,white,green,yellow,purple",","),"Delete","Global")
wait(3)
alert($pop(%my list))


Running the command will run an alert that brings up the last list item of the list.

Pop.jpg


The item is then removed from the end of the list


Pop0.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox