PUSH
PUSH(<array[]>,<value>)
Type: Action
Category: Variables
Permission: N/A
Since Minecraft Version: v1.4.6
Since Version: v0.9.7
Minor: 9
API: N/A
Patch: 7
Description
Appends <value> to the end of <array[]>
Example
// Adds an element to the end of the array
PUSH(&array[],"Hello")
// The same as
&array[] = "World"
// Outputs "Hello" and "World"
FOREACH(&array[],&string)
LOG(%&string%)
NEXT
Changelog
- Added em v0.9.7: