$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 =...") |
|||
Line 1: | Line 1: | ||
− | This | + | This function is an [[Advanced List|Advanced List]] function. This command removes and returns the last list item. |
'''List:''' List of items being used by the pop function | '''List:''' List of items being used by the pop function |
Latest revision as of 18:03, 6 June 2015
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
[edit] 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