Posted 07 November 2015 - 08:54 PM
Hello everybody,
Ive been trying to make an locked computer and it hasnt quite worked out for me,
i'm new to this all and need some help on this, everytime i enter my code it says "Access Granted" but than puts me back on the login screen
My next step will be trying to make a locked communication system / floppy disks, so if you got any tips for those :)/>
Here is the code (I didn't know how to put it in any other way)
Thanks for the help :D/>!
Ive been trying to make an locked computer and it hasnt quite worked out for me,
i'm new to this all and need some help on this, everytime i enter my code it says "Access Granted" but than puts me back on the login screen
My next step will be trying to make a locked communication system / floppy disks, so if you got any tips for those :)/>
Here is the code (I didn't know how to put it in any other way)
os.pullEvent = os.pullEventRaw
if true than do
term.clear()
term.setCursorPos(1, 1)
textutils.slowPrint("Enter Password:")
input = ("*")
if input == "Hello" then
term.clear()
term.setCursorpos(1, 1)
textutils.slowPrint("Welcome User!")
else
textutils.slowPrint("Incorrect Password!")
sleep(5)
end
end
end
Thanks for the help :D/>!