Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function check(list,name)
- local chk = false
- for i,v in pairs(list) do
- if string.find(name,v) ~= nil then chk = true end
- end
- if chk == true then return true else return false end
- end
- function unlock(p,word)
- local chestSize = p.getInventorySize()
- list = {}
- if chestSize ~= nil then
- for a=1,chestSize do
- list[a] = p.getStackInSlot(a)
- if list[a] ~= nil and list[a].name == "teleporterMKI" then
- if string.find(word,list[a].display_name) ~= nil then return true end
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment