Posted 17 May 2013 - 03:22 PM
I made this code but there's a error if needed I can post the error but it will take a second thank you for your time.
print("Welcome to the hovel")
correctuser = "Jacob"
correctuser2 = "fuzzy"
correctuser3 = "dg"
write("Username:")
user = read()
if user == ("correctuser") then
print("Welcome Creator")
elseif user == (correctuser2) then
print("Welocme fuzzy...")
elseif user == (correctuser3) then
print("Welocme DG :D/>")
correctpass = "fuckoff"
write("Password:")
pass = read("*")
elseif pass == (correctpass) then
rs.setOutput("right",true)
sleep(3)
os.shutdown()
else
print("incorrect leave the hovel intruder!")
sleep(4)
os.shutdown()