Posted 08 September 2012 - 02:38 AM
I get an error at Line number 10, stating that I need to put an equals sign there. I've looked and tried rewriting this, but I can't seem to grasp the problem.
local time = os.time()
time = textutils.formatTime(time, false)
print ("Enter your login name:")
local name = read()
sleep(.5)
term.clear
if name == "Syca" or "lordsyca" or "chris" or "appa" or "Appa" or "Chris" then
print ("Enter your password:")
local password = read("*")
sleep(.5)
term.clear
if password == "Izzisixx6" then
print("Welcome ", name, " The current time is ", time)
else
print ("Wrong Password")
os.reboot
end
end
if name == "Izzi" or "momo" or "izzi" or "Momo" or "Zavrina" or "zavrina" then
print ("Enter your password:")
local password = read("*")
sleep(.5)
term.clear
if password == "Izzisixx6" then
print("Welcome ", name, " The current time is ", time)
sleep(1)
shell.run(izzi)
else
print ("Wrong Password")
os.reboot
end
end
else
print ("Unknown User")
sleep(3.5)
os.reboot