Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Card Creator By Nap14hockey")
- while true do
- local _, side = os.pullEvent("disk")
- term.setCursorPos(1,1)
- if fs.exists('disk/dev') then
- break
- end
- print("Enter A Level Of The New Card; 1, 2, 3, 4")
- local input = read()
- one = 1
- two = 2
- three = 3
- four = 4
- if input == four then
- file = fs.open(“disk\level4”, “w”)
- end
- elseif input == three then
- file = fs.open(“disk\level3”, “w”)
- end
- elseif input == 2 then
- file = fs.open(“disk\level2”, “w”)
- end
- elseif input == 1 then
- file = fs.open(“disk\level1”, “w”)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment