This isn't printing anything... can someone fix it?

anthony

New member
a={b=''}
a.b = "Hello World"
setmetatable(a,{__newindex=function(a, b, v) if a.b == "Hello World" then print(a.b)
end end })


This is in Lua BTW. Using Metamethods. I honestly don't know exactly what I'm doing. xD
 
Back
Top