Advertisement
MrBartek

Command - TechCraft

Aug 22nd, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. monitor = peripheral.wrap("monitor_8")
  2. monitor.clear()
  3. monitor.setCursorPos(1,1)
  4.  
  5. function newLine()
  6.   local _,cY= monitor.getCursorPos()
  7.   monitor.setCursorPos(1,cY+1)
  8. end
  9.  
  10. while true do
  11.     monitor.write("===================[Komendy]=====================")
  12.     newLine()
  13.     monitor.write("/warps - Lista warpow")
  14.     newLine()
  15.     monitor.write("/warp [warp] - Teleportuje na wybrany warp")
  16.     newLine()
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement