- ComputerCraft | Programmable Computers for Minecraft
- → Rax's Content
Rax's Content
There have been 11 items by Rax (Search limited from 29-March 23)
#129885 Ultimate Wood Chopper [0.9.5 Prerelease B][Session Persistent]
Posted by Rax on 28 June 2013 - 12:11 AM in Turtle Programs
0.9.4 is not working for me. I reboot the MINING turtle. But to no avail.
#127732 Please tell me what's wrong with this script
#127729 Please tell me what's wrong with this script
Posted by Rax on 20 June 2013 - 07:55 AM in Ask a Pro
Bomb Bloke, on 20 June 2013 - 07:48 AM, said:
Without an extra "end" statement at the very bottom (to close up that "while" loop), it probably doesn't do much.
"input" will never be compared to "depass". You may want to change the lower bit to something like:
If you want further assistance, forget about using phrases such as "it doesn't work". We know it doesn't work, that's why you're posting the thread, tell us what it does instead.
"input" will never be compared to "depass". You may want to change the lower bit to something like:
elseif input == depass then term.clear() term.setCursorPos(1, 1) break else print("Access denied.") sleep(2) os.reboot() end
If you want further assistance, forget about using phrases such as "it doesn't work". We know it doesn't work, that's why you're posting the thread, tell us what it does instead.
#127723 Please tell me what's wrong with this script
Posted by Rax on 20 June 2013 - 07:47 AM in Ask a Pro
It doesnt work. It is supposed to first: Use 2 block breakers to break Obsidian. Then after 5 sec it will stop the block breakers being powered, then place the obsidian back with Deployers. The bottom part of the code: "if input == depass then" is the debug password part. That will stop the program.
#127718 Please tell me what's wrong with this script
Posted by Rax on 20 June 2013 - 07:39 AM in Ask a Pro
Code is here:
Saying thanks in advance!
Added picture of setup.
local pass1 = "TeslaCoil" local depass = "FusionCoil" local pullEvent = os.pullEvent os.pullEvent = os.pullEventRaw term.clear() term.setCursorPos(1, 1) while true do print("Insert Password: ") local input = read("*") if input == pass1 then term.clear() term.setCursorPos(1, 1) print("Access granted.") rs.setOutput("top", true) rs.setOutput("bottom", true) sleep(5) rs.setOutput("top", false) rs,setOutput("bottom", false) rs.setOutput("back", true) rs.setOutput("back", false) elseif input == depass then term.clear() term.setCursorPos(1, 1) break else print("Access denied.") sleep(2) os.reboot() end endPlease help.
Saying thanks in advance!
Added picture of setup.
#111653 Lockout API
Posted by Rax on 19 April 2013 - 01:53 AM in APIs and Utilities
Username & Password File?
- ComputerCraft | Programmable Computers for Minecraft
- → Rax's Content