$Dequeue
From UBot Studio
(Difference between revisions)
(Created page with "This command is an Advanced List command. This command removes and returns the first item on a list. '''List:''' List of the items being dequeued == Examp...") |
|||
Line 1: | Line 1: | ||
− | This command is an [[Advanced List|Advanced List]] | + | This command is an [[Advanced List|Advanced List]] function. This command removes and returns the first item on a list. |
'''List:''' List of the items being dequeued | '''List:''' List of the items being dequeued |
Revision as of 16:10, 6 June 2015
This command is an Advanced List function. This command removes and returns the first item on a list.
List: List of the items being dequeued
Example
clear list(%my list) add list to list(%my list,$list from text("blue,white,green,yellow,purple",","),"Delete","Global") wait(3) alert($dequeue(%my list))
Running the command create and alert for the item "blue".
The item "blue" is then removed from the list.