Advertisement
Guest User

Rules

a guest
Nov 28th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.84 KB | None | 0 0
  1. mon = peripheral.wrap("left")
  2.  
  3. mon.clear()
  4. mon.setTextScale(1.2)
  5. mon.setCursorPos(1,1)
  6.  
  7.   local function centerText(printThis)
  8.     local xsize,ysize =mon.getSize()
  9.     local curCol,curRow = mon.getCursorPos()
  10.     mon.setCursorPos((xsize - #printThis) /2, curRow)
  11.     mon.write(printThis)
  12.     mon.setCursorPos(1, curRow+1)
  13.   end
  14.  
  15.   centerText("PeAcE-MaKeRs")
  16.   centerText("Rule List")
  17.  
  18.   Text("Cake")
  19.   centerText("* Never break something in the public town")
  20.   centerText("  or other players plots!!!")
  21.   centerText("* always listen to the following players:")
  22.   centerText("# Marlboro, # Stormraider, # Darkone.")
  23.   centerText("* !!!!!!ALWAYS PUT BACK WHAT YOU USE!!!!!!")
  24.   centerText("LIKE CROPS, SUGAR CANES ECT.")
  25.   centerText("* remeber that the tax is B5 per plot")
  26.   centerText("so donate for the server to recieve B115")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement