xXm0dzXx

Untitled

Nov 24th, 2012
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1.  
  2. if theme == "default" then
  3. if rednetType == "HTTP" then
  4. print("http://" ..currentURL)
  5. elseif rednetType == "rnet" then
  6. print("rnet://" ..currentURL)
  7. else
  8. print("rdnt://" ..currentURL)
  9. end
  10.  
  11. for i=1,x do
  12. term.setCursorPos(i,2)
  13. write("-")
  14. end
  15. term.setCursorPos(1,3)
  16. elseif theme == "old" then
  17. cPrint("Rednet Explorer")
  18. if rednetType == "HTTP" then
  19. cPrint("http://" ..currentURL )
  20. elseif rednetType == "rnet" then
  21. cPrint("rnet://" ..currentURL )
  22. else
  23. cPrint("rdnt://" ..currentURL)
  24. end
  25. term.setCursorPos(1,4)
  26. elseif theme == "edit" then
  27. term.setCursorPos(1,y)
  28. write("Press CTRL to access menu")
  29. end
Advertisement
Add Comment
Please, Sign In to add comment