Since the scripting language at the moment on Router OS version 6.13 is lacking in the array editing department, here is a simple array push function I created.
# Usage: [$arrayPush <$array name> <value> <key position to place value (0-n or -1)>] # Input an array name, value, and the key position to push the value to. To push value to the end of the array, enter -1. # If array doesn't already exist, you must declare the variable and set it to "" before calling the function. Continue reading "Mikrotik Scripting – Array Push Function"