Skip to content

Instantly share code, notes, and snippets.

@jakenotjacob
Created November 5, 2017 05:40
Show Gist options
  • Save jakenotjacob/1d61d7bb58a4870d8f987ec5795b41ff to your computer and use it in GitHub Desktop.
Save jakenotjacob/1d61d7bb58a4870d8f987ec5795b41ff to your computer and use it in GitHub Desktop.
playerthingy.lua
Player = {}
Player.__index = Player
function Player.init(p)
local p = p or {}
local _env = _ENV
setmetatable(p,
{
__index = function() end,
__newindex = function() end,
__metatable = function() end,
})
return p
end
function Player.find()
end
function Player:identifiers(id_str)
for ii in string.gmatch(id_str, ":")
end
function Player:license()
end
insta = setmetatable( Player.new(), {__index = } )
local function Player:init(p)
end
function Player.find(ident)
Database.
end
for w in string.gmatch(s, "%a+") do print(w) end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment