Non-specific thread hijack question about a password program
#1
Posted 03 September 2013 - 02:52 PM
Request Thread Close
#2
Posted 03 September 2013 - 03:10 PM
There's a sticky post with the title "New Members needing to ask questions, please read" for a reason. You should have read it.
#3
Posted 03 September 2013 - 04:14 PM
And use CODE tags:
they're displaying the code in wrong highlighting, but at least they look like actual code12th button on the lower toolbar, the one which looks like this: <>. You click on it, you paste the code, and magic happened. Then you can see that codes are enclosed by "code" and "/code" (inside brackets).
#4
Posted 04 September 2013 - 02:37 AM
LBPHacker, on 03 September 2013 - 04:14 PM, said:
kaioo1312, on 03 September 2013 - 02:52 PM, said:
#5
Posted 04 September 2013 - 11:23 AM
ps i tried the 'Read before you post topic'
thanks if someone can help
#6
Posted 04 September 2013 - 11:48 AM
kaioo1312, on 04 September 2013 - 11:23 AM, said:
LBPHacker, on 03 September 2013 - 04:14 PM, said:
#7
Posted 04 September 2013 - 12:08 PM
theoriginalbit, on 04 September 2013 - 11:48 AM, said:
kaioo1312, on 04 September 2013 - 11:23 AM, said:
LBPHacker, on 03 September 2013 - 04:14 PM, said:
Yes ok but what do you mean by the structure of the proram
#8
Posted 04 September 2013 - 02:00 PM
www.pastebin.com/s6wCPAq5
or text
code = ("mrw12m1")
pass=("nuke")
on=("yes")
off=("no")
function codecheck()
term.clear()
term.setCursorPos(12,1)
print("Security Access Console")
term.setCursorPos(12,2)
print("Enter The Seven Digit Code")
input=read("*")
if input == (code) then
term.clear()
term.setCursorPos(12,1)
print("Security Systems Protaol File...")
term.setCursorPos(12,2)
textutils.slowPrint("Security Protocal, System Initalizing")
term.setCursorPos(12,3)
textutils.slowPrint("Standby Code Confirmed")
term.setCursorPos(12,4)
textutils.slowPrint("System Initalized")
sleep(2)
term.setCursorPos(12,5)
textutils.slowPrint("A.D.S Is Now On Standby")
term.setCursorPos(12,6)
textutils.slowPrint("Enter Password")
input=read("*")
if input == (pass) then
term.clear()
term.setCursorPos(12,1)
print("A.D.S Is Now Ready!")
term.setCursorPos(12,2)
sleep(1)
print("Type Yes To Activate")
term.setCursorPos(12,3)
print("Type No TO Deactivate")
input=read()
if input == (on) then
print("A.D.S On!")
else
if input==(off) then
print("A.D.S Off!")
end
end
else
print("wrong password")
end
else
print("wrong code")
end
end
codecheck(
Edited by Lyqyd, 04 September 2013 - 08:38 PM.
added code tags
#9
Posted 04 September 2013 - 04:22 PM
#10
Posted 04 September 2013 - 05:38 PM
#11
Posted 04 September 2013 - 08:20 PM
#12
Posted 04 September 2013 - 08:38 PM
#13
Posted 05 September 2013 - 09:48 AM
tiin57, on 04 September 2013 - 05:38 PM, said:
tiin57, on 04 September 2013 - 05:38 PM, said:
Umm again i am new to lua/computercraft/coding so i have no idea what mast of the stuff means like 'formating' please explain
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users











