Wouterr schreef:Weeh, nice! Ben ook bezig met ComputerCraft, maar dan een stripmining turtleEerdere citaten tonen
Alef schreef:t Is in principe programmeren, maar dan in ComputerCraftSpoiler tonen
local opentime = 5 local openword = "sezam" while true do term.setCursorPos(1, 1) term.clear() print("AlexOS | Command Prompt (V1.0)") print("Welcome, owner") sleep(1) print("Type in your command") input = read() if input == openword then rs.setOutput("right", true) print("Door has opened for " ..opentime " seconds") sleep(opentime) rs.setOutput("right", false) print("Door closed") sleep(2) term.setCursorPos(1, 1) term.clear() end if input == "test" then print(input) sleep(3) term.setCursorPos(1, 1) term.clear() end if input == "clr" then term.setCursorPos(1, 1) term.clear() end if input == "openit" then rs.setOutput("right", true) print("Door will remain open.") sleep(3) term.setCursorPos(1, 1) term.clear() end if input == "closeit" then rs.setOutput("right", false) print("Door will remain closed.") sleep(3) term.setCursorPos(1, 1) term.clear() end if input == "exit" then term.setCursorPos(1, 1) term.clear() end if input == "help" then term.setCursorPos(1, 1) term.clear() print("sezam: Opens door for 5 seconds") print("clr: Clears the screen") print("openit: Opens the door") print("closeit: Closes the door") print("exit: Exits the command menu") print("") sleep(2) end end

Nice, t is dat ik al een quarry heb, dus turtles zijn niet nodig





). Die kun je, zonder de resolutie aan te passen, zon 100 tot 200kb maken.