Enqueue
From UBot Studio
(Difference between revisions)
(Created page with "This command is an Advanced List command. This command will add an item to the end of a list. '''List:''' List the item will be enqueued to. '''Item to Enqu...") |
|||
(One intermediate revision by one user not shown) | |||
Line 2: | Line 2: | ||
'''List:''' List the item will be enqueued to. | '''List:''' List the item will be enqueued to. | ||
+ | |||
'''Item to Enqueue:''' Item being added to the end of the list | '''Item to Enqueue:''' Item being added to the end of the list | ||
Line 9: | Line 10: | ||
add list to list(%my list,$list from text("blue,white,green,yellow,purple",","),"Delete","Global") | add list to list(%my list,$list from text("blue,white,green,yellow,purple",","),"Delete","Global") | ||
wait(3) | wait(3) | ||
− | enqueue(%my list,"black") | + | enqueue(%my list,"black","Global") |
</pre> | </pre> |
Latest revision as of 17:47, 6 June 2015
This command is an Advanced List command. This command will add an item to the end of a list.
List: List the item will be enqueued to.
Item to Enqueue: Item being added to the end of the list
[edit] Example
clear list(%my list) add list to list(%my list,$list from text("blue,white,green,yellow,purple",","),"Delete","Global") wait(3) enqueue(%my list,"black","Global")
Running the command will add the new item "black" to the end of the list.