1 2 3 4 5 6 7 8 9 10 11
function test(first, second, ...) if first ~= "one" then return 0 end if second ~= "two" then return 0 end return arg[2] end result = test("one", "two", 8, 9, 10)