Skip to content

Instantly share code, notes, and snippets.

@KeithHanson
Created November 29, 2017 07:36
Show Gist options
  • Save KeithHanson/21b79c47b154fc2565891b63ee96376f to your computer and use it in GitHub Desktop.
Save KeithHanson/21b79c47b154fc2565891b63ee96376f to your computer and use it in GitHub Desktop.
A ComputerCraft Gist
term.setBackgroundColor(colors.red)
term.setTextColor(colors.white)
term.clear()
term.setCursorPos(1,1)
print("DEBUG BOOT PROCESS:")
print("This script is used to load other startup scripts")
print("")
print("Press and hold CTRL+T to abort")
--filename = "passwordStartup"
filename = "normalBoot"
print()
print("Attempting to boot file: " .. filename .. " in ")
write("3... ")
sleep(1)
write("2... ")
sleep(1)
write("1... ")
dofile(filename)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment