u just answered yourself, in the script event sheet, u do normal javascript... like array=[] etc... same thing... C3 supports javascript fully.please check documentation for other stuff regarding it.
var someVar = [0,1,2,3,4,5, "cow", 7,8...];
on event call "someVar[index.nr in the array]" someVar[6];