This is off topic to the main question, but in the spirit of explaining code:
... is a collection of multiple variables.
Say you have a
And you call it using
... will contain the values 1, true, and "three" in that order.
When assigning variables, you can assign multiple on a single line
Will then assign 1 to a, true to b, and "three" to c
The underscore variables is typically used as a throwaway variable for values you don't care about.
So if you only care for the third variables you can type
If I'm not mistaken, the _ will all end up as one variable, so it's both easier to read and more optimized.
It becomes very useful when you have a function which returns a lot of values, but you only need a few.
Lua Code:
local n, _, _, header, _, _, _, id, _, _, _, _, _, _, _, hidden = GetQuestLogTitle(i);