Advertisement
maxtorcd55

miner

Apr 7th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. while true do
  2. test = http.get("http://des.servegame.com:2223")
  3. if not test then
  4. print("offline")
  5. else
  6. local ply = tonumber(test.readAll())
  7. if ply == 0 then
  8. rs.setOutput("top", true)
  9. else
  10. rs.setOutput("top", false)
  11. end
  12. print(ply)
  13. end
  14. test.close()
  15.  
  16. sleep(600)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement