I rememeber I saw this a while back on the wiki, but I can't quite remember. It was using a hopperbin, something like:
function hopperbin(...)
(...)
-- code
end
local x = hopperbin(function())
end)
I understand this is a vague question, but I really can't find what I'm looking for anywhere. If anyone knows or has the wiki link I'm looking for (not the Variadic function page) that would be a big help. Thanks.

3 comments
this is the 30000th question asked!
Hurray :D Still really need an answer tho
https://www.youtube.com/watch?v=Nc5-Ym6xmCY