$Pop
From UBot Studio
(Difference between revisions)
(Created page with " This command is an Advanced List function. This command removes and returns the last list item. '''List:''' List of items being used by the pop function =...") |
Revision as of 15:07, 6 June 2015
This command 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.
The item is then removed from the end of the list

