Revision as of 06:28, 1 April 2020 by w>MusikAnimal(Undid revision 948472525 by [[Special:Contributions/w>DiBabelYurikBot|w>DiBabelYurikBot]] ([[User talk:w>DiBabelYurikBot|talk]]))
localmt=getmetatable(_G)or{}functionmt.__index(t,k)ifk~='arg'thenerror('Tried to read nil global '..tostring(k),2)endreturnnilendfunctionmt.__newindex(t,k,v)ifk~='arg'thenerror('Tried to write global '..tostring(k),2)endrawset(t,k,v)endsetmetatable(_G,mt)