I've never actually used it so I can't guarantee this will work, but try using this code to spawn an ArrayListnew scriptObject(myArrayList) { class=ArrayList; initialCapacity=55;};
How would I manipulate this arraylist?would it be $myArrayList?
$myArrayList = new ScriptObject()