$Dequeue

From UBot Studio
Revision as of 17:37, 29 September 2016 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function 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 creates an alert for the item "blue".


Dequeue.jpg


The item "blue" is then removed from the list.

Dequeue0.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox