nap14hockey icon

Computercraft Keycard Door Page 2

nap14hockey | PRO | 06/24/14 12:33:14 AM UTC | 0 ⭐ | 404 👁️ | Never ⏰ | []
Lua |

630 B

|

None

|

0 👍

/

0 👎

  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

Comments