#gmcr var arr = argument0; var len = array_length_1d(arr); for (var i = 0; i < len; i++) { yield arr[i]; }
Given code will generate gml with mispell function call. It calls array_wget instead of array_get
array_wget is to be a custom script that just has return argument0[argument1] inside.
array_get is currently bugged and returns undefined if a variable is not an array (which makes for some confusing bugs).
I should probably publish a helper extension with predefined possible scripts for these things