Posted 20 July 2017 - 10:28 PM
please tell me if anything could be improved
Local color = colors.purple
oldPull = os.pullEventRaw
term.clear()
term.setCursorPos(1,1)
term.setTextColor(color)
print(“=========================”)
print(“=========Zphone 2=========”)
print(“=========================”)
print(“=== ===”)
print(“== ==”)
print(“== Username: Chronoa ==”)
print(“== Password: ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“=== ===”)
print(“==== ====”)
term.setCursorPos(16,6)
If read(“*”) == “password” then
sleep(1)
term.clear()
term.setCursorPos(1,1)
Else
term.setCursorPos(6,8)
print(“Incorrect Login “)
sleep()
term.setCursorPos(6,9)
print(“Rebooting…”)
sleep(1)
term.clear()
term.setCursorPos(16,6)
os.reboot()
end
it removed alot of the spaces :P/>
Local color = colors.purple
oldPull = os.pullEventRaw
term.clear()
term.setCursorPos(1,1)
term.setTextColor(color)
print(“=========================”)
print(“=========Zphone 2=========”)
print(“=========================”)
print(“=== ===”)
print(“== ==”)
print(“== Username: Chronoa ==”)
print(“== Password: ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“== ==”)
print(“=== ===”)
print(“==== ====”)
term.setCursorPos(16,6)
If read(“*”) == “password” then
sleep(1)
term.clear()
term.setCursorPos(1,1)
Else
term.setCursorPos(6,8)
print(“Incorrect Login “)
sleep()
term.setCursorPos(6,9)
print(“Rebooting…”)
sleep(1)
term.clear()
term.setCursorPos(16,6)
os.reboot()
end
it removed alot of the spaces :P/>