Advertisement
osmarks

SkyBillboard

Feb 8th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local a=http.get"https://raw.githubusercontent.com/osmarks/skynet/master/client.lua"local b=fs.open("skynet","w")b.write(a.readAll())a.close()b.close()
  2. local skynet = require "./skynet"
  3.  
  4. local m = peripheral.find "monitor"
  5. m.setTextScale(3)
  6. term.redirect(m)
  7.  
  8. while true do
  9.     local _, msg = skynet.receive "billboard"
  10.     term.clear()
  11.     term.setCursorPos(1, 1)
  12.     write(msg)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement