×
Create a new article
Write your page title here:
We currently have 30 articles on Ghost Machine Wiki. Type your article name above or create one of the articles listed here!



    Ghost Machine Wiki
    Revision as of 22:20, 4 July 2023 by imported>TheDemon08 (Created page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Tried to write global ' .. tostring(k), 2) end rawset(t, k, v) end setmetatable(_G, mt)")
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    local mt = getmetatable(_G) or {}
    function mt.__index (t, k)
    	if k ~= 'arg' then
    		error('Tried to read nil global ' .. tostring(k), 2)
    	end
    	return nil
    end
    function mt.__newindex(t, k, v)
    	if k ~= 'arg' then
    		error('Tried to write global ' .. tostring(k), 2)
    	end
    	rawset(t, k, v)
    end
    setmetatable(_G, mt)
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.