Advertisement
madpond

.crash

Apr 14th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. function crash()
  2.   term.clear()
  3.   term.setBackgroundColor(colors.blue)
  4.   term.setCursorPos(17,1)
  5.   print("      Ooops!         ")
  6.   term.setCursorPos(17,2)
  7.   print("We got an error :(   ")
  8.   term.setCursorPos(17,3)
  9.   print("Click to relaunch    ")
  10.   term.setCursorPos(17,4)
  11.   error("GUI Failsafe")
  12. end
  13.  
  14. while true do
  15.   crash()
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement