Enqueue

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
Line 10: 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.


Enqueue.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox