Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function comp()
- fs.makeDir("account")
- fs.makeDir("cookies")
- dd = fs.open("cookies/disk", "w")
- print("Detecting Disk Drives...")
- print("Please Wait")
- -- sleep(3) -- useless
- if disk.isPresent("right") == true then
- print("Disk Drive 'Right' Enabled")
- dd.write("right")
- dd.close()
- elseif disk.isPresent("left") == true then
- print("Disk Drive 'Left' Enabled")
- dd.write("left")
- dd.close()
- elseif disk.isPresent("back") == true then
- print("Disk Drive 'back' Enabled")
- dd.write("back")
- dd.close()
- elseif disk.isPresent("bottom") == true then
- print("Disk Drive 'Bottom' Enabled")
- dd.write("bottom")
- dd.close()
- elseif disk.isPresent("top") == true then
- print("Disk Drive 'Top' Enabled")
- dd.write("top")
- dd.close()
- elseif disk.isPresent("front") == true then
- print("Disk Drive Is Not Allowd On The")
- print("Front Of The Computer")
- else
- print("No Disk Drive Detected")
- print("Please Install One")
- end
- end
- comp()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement