Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chat1=1
- chat2=1
- function recieve()
- while true do
- chat1=http.get("http://www.gecco34.bplaced.net/Stuff/Computercraftlog.txt")
- chat1=chat1.readAll()
- if chat1~=chat2 then
- print(chat1)
- chat2=chat1
- end
- end
- end
- function send()
- while true do
- email=io.read()
- http.post("http://www.gecco34.bplaced.net/Stuff/filewriter.php?message="..textutils.urlEncode(tostring(email)))
- end
- end
- parallel.waitForAll(recieve,send)
Add Comment
Please, Sign In to add comment