OC-MultICE/modules/library/fs-min.lua

7 lines
226 B
Lua

fT = {}
function fres(p)
local fid = (p:match("(%a-):.+") or p:match("/?(%a-)/.+"))
local pt = (p:match("%a-:(.+)") or p:match("/?%a-/(.+)"))
if fT[fid] ~= nil and pt ~= nil then return fT[fid],pt else return false end
end