I suppose bruh.
local multimeta = setmetatable({},
setmetatable(
{__call = function(b,c) print(c+2) end}, --First metamethod
{__call=function(a,b) print(b) end} --Second, deep metamethod
))
multimeta(1); --> 3
getmetatable(multimeta)("hi"); --> "hi"
R$35,255 |