I'm sorry if this isn't the type of question directed to ScriptingHelpers, but I'd really like to understand the next() function.
I've searched on the wiki, tested it, but still don't understand what it does.
If someone could explain to me, that'd be great.
basically if youre talking about tables then it makes it so it moves the the next thing in a table, like this
things = {1,2,3,4,5} print(next(things, 2) -- so it will print 3 because after the second argument is 3. now if i do print(next(things, 3) -- it will be 4, and so on