This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
kaioo1312's profile picture

Please Help Me!

Started by kaioo1312, 04 September 2013 - 01:25 AM
kaioo1312 #1
Posted 04 September 2013 - 03:25 AM
I cant figure out whats wrong with this Can you?


code = "mrw12m1"
pass = "nuke"
term.clear()
term.setCursorPos(12,1)
print"Enter Security System Standby Code"
input=read("*")
if input == (code) then
term.clear()
term.setCursorPos(12,1)
textutils.slowPrint("System Initalizing………….")
term.setCursorPos(12,2)
textutils.slowPrint("Security Standby Code Activated…")
term.setCursorPos(12,3)
textutils.slowprintPrint("System Initialized")
term.setCursorPos(12,4)
textutils.slowPrint("A.D.S Ready!")
term.setCursorPos(12,5)
textutils.slowPrint("To Activate The A.D.S Enter Password Now!")
input=read("*")
if input == pass then
print("Type On Or Type Off")
input=read()
if input == (off) then
print("A.D.S Off")
end else
if input == (on) then
print("A.D.S On")
else
print("Wrong Password")
sleep(3)
else
print"Wrong Code"
os.reboot()
end
theoriginalbit #2
Posted 04 September 2013 - 03:33 AM
-snip-
You need to provide more information when posting in Ask a Pro. We aren't personal slaves, we aren't code monkey, we have lives, and we normally don't have time to help people who just say "I have a problem"… It is expected of posters to follow a few guidelines. Please have a read through these before posting any future questions (make sure you read from where I linked and below).

Secondly Lyqyd already told you in the New members needing to ask questions topic that he split your question out to a new topic already. He split it into a new topic as we do not approve of thread hijacking in these forums, please make sure you read the forum guidelines! Do not create multiple threads, it will not get your questions answered any quicker, actually we will be most likely less willing to answer it, you're more likely to get a reply along these lines.

I will not be answering this question in this thread, and I suggest anyone else who is considering answering it here not to as well. Instead answer here in the original thread.
Lyqyd #3
Posted 04 September 2013 - 10:50 AM
Thread closed.

This is at least the third thread on this same question. You need to use the original thread linked above. I will place you on moderator preview if you continue to post duplicate topics.