Hi all,
I'm amending the socket.io plugin again and looking for some advice on actions:
acts.ScriptName = function (params)
{
// do something
};
So I have an array called dataStack[].
I'm pushing objects into it something like this:
event = new instance.Event;
event.name = blah; //String
event.data = blah; //JSON
event.time = Date.time(); //Time in ms
dataStack.push(event);
What I want to do is expose the looping through the array to C2.
Something like a For Each Element action...
How does this work and tie in with the loopIndex exposed to loops within C2?
Many thanks for some pointers...