Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- test = http.get("http://des.servegame.com:2223")
- if not test then
- print("offline")
- else
- local ply = tonumber(test.readAll())
- if ply == 0 then
- rs.setOutput("top", true)
- else
- rs.setOutput("top", false)
- end
- print(ply)
- end
- test.close()
- sleep(600)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement