Push
From UBot Studio
(Difference between revisions)
(Created page with " This command is an Advanced List command. This command will insert an item into the beginning of a list. '''Seconds To Wait:''' The list the item will be p...") |
|||
Line 2: | Line 2: | ||
This command is an [[Advanced List|Advanced List]] command. This command will insert an item into the beginning of a list. | This command is an [[Advanced List|Advanced List]] command. This command will insert an item into the beginning of a list. | ||
− | ''' | + | '''List:''' The list the item will be pushed to. |
'''Item to push:''' Item being pushed to the beginning of the script. | '''Item to push:''' Item being pushed to the beginning of the script. |
Revision as of 15:30, 6 June 2015
This command is an Advanced List command. This command will insert an item into the beginning of a list.
List: The list the item will be pushed to.
Item to push: Item being pushed to the beginning of the script.
Example
clear list(%my list) add list to list(%my list,$list from text("blue,white,green,yellow,purple",","),"Delete","Global") wait(3) push(%my list,"black")
Running the command will push the new item "black" to the beginning of the list.