Advertisement
atlasim

Kernel : Kernel.lua

Jun 2nd, 2020 (edited)
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. --------------------
  2. --printing a log
  3. --------------------
  4. if fs.exists(".CC/usersys") == true then
  5. term.setTextColor(colors.green)
  6.     print("[ OK ] ")
  7.     term.setTextColor(colors.white)
  8.     term.setCursorPos(8,2)
  9.     print("")
  10. else
  11. term.setTextColor(colors.red)
  12.     print("[ STOP ] User Promt File Missing, Code:\"USRP_MISS\"")
  13.     term.setTextColor(colors.yellow)
  14.     print("User Display Tool is missing\nStarting Recovery Mode ...")
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement