Advertisement
Guest User

startup

a guest
Feb 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.53 KB | None | 0 0
  1. --[[this is setting up thing for later. Skip
  2. to the intro instructions ]]
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. monitor = peripheral.wrap("back")
  10. monitor.clear()
  11. monitor.setCursorPos(1,1)
  12.  
  13. function newLine(n,i)
  14.   local _,y = monitor.getCursorPos()
  15.   monitor.setCursorPos(n,y+i)
  16. end
  17.  
  18.  
  19.  
  20. --[[Hey friends!! This is my To-Do list tool! It
  21. works by using two lines of codes: a command to
  22. write amessage and a command to skip to the next
  23. line and indent.
  24.  
  25. The first command is the writing command is setup
  26. as follows:
  27.  
  28. monitor.write("Your MESSAGE hErE")
  29.  
  30. To write your message, you would type the above
  31. line and place your message within the paranthesis.
  32.  
  33. To skip a line, type the following command:
  34.  
  35. newLine(x,y)
  36.  
  37. where x = the indent position (1 being no indent,
  38.           2 being indented 1 space, 3 being indented
  39.           2 spaces)
  40.  
  41. where y = the number of lines you'd like to go
  42.           down(1 being the next line, 2 being
  43.           skip 2 line, 3 being skip 2 lines, etc)
  44.          
  45. So write a line and then skip a line
  46.  
  47.  
  48.  
  49. Feel free to delete the notes in this section when
  50. you no longer need them! Make sure to delete the
  51. hyphons and brackets too
  52.  
  53. -]]
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. monitor.write("Mob Spawners")
  66. newLine(2,1)
  67. monitor.write("Skeleton Spawner")
  68. newLine(2,1)
  69. monitor.write("Cow Spawner")
  70. newLine(2,1)
  71. monitor.write("Witch Spawner")
  72. newLine(1,2)
  73.  
  74. monitor.write("Flower Power")
  75. newLine(2,1)
  76. monitor.write("Gather Flower Colors")
  77. newLine(1,2)
  78.  
  79. monitor.write("Make To-Do Lists")
  80. newLine(1,2)
  81.  
  82. monitor.write("Fort Fuckery")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement