daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. w,h=term.getSize()
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. icons = {
  5.   [1] = {shortname="St",fullname="Store"},
  6.   [2] = {shortname="Fi",fullname="Firefox"},
  7.   [3] = {shortname="Re",fullname="RednetEx"}
  8.   }
  9. for i=1,#icons do
  10.   if not icons[i].shortname then
  11.     icons[i].shortname=icons[i].fullname:sub(1,2)
  12.   end
  13. write("+--+\n")
  14. write("|"..icons[i].shortname.."|\n")
  15. write("+--+\n")
  16. write(icons[i].fullname.."\n")
  17. end
  18. term.setCursorPos(1,h-1)
  19. for i=1,w do
  20. if i==7 then
  21. write("+")
  22. else
  23. write("-")
  24. end
  25. end
  26. term.setCursorPos(1,h)
  27. write("START |")
  28. while true do sleep(0) end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top