-
This is an example of how to use the loop method ‘for key in pairs’ on a Lua Array, as well as how to construct an Array manually and how to use the resulting values to change the color of Log text:
This can be applied to many kinds of Haasscript objects, such as GetAllOpenPositions(), OrderContainer(), etc.