Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetLevels()
- m = peripheral.wrap("left")
- local Levels = m.getLevels()
- print("There are "..Levels.." levels stored")
- end
- function EnchantFunction()
- print("Would You like to enchant an item?")
- local EnchantTrue = "Yes"
- local input = read()
- if input == EnchantTrue then
- print("Place item in slot 1")
- select(1)
- print("Enchanting Slot 1 At Which Level?")
- local EnchantLevel = read()
- m.Enchant("EnchantLevel")
- else
- print("You have not chosen to enchant, restarting")
- term.clear()
- term.setCursorPos(1,1)
- end
- end
- GetLevels()
- EnchantFunction()
Advertisement
Add Comment
Please, Sign In to add comment