Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local server, username, password = "http://benandhayley.com/trainget.php"
- local location = "Base One"
- while true do
- shell.run("clear")
- if rs.getInput("bottom") then
- local response = http.post(server, "location=" .. location)
- else
- print("redstone OFF")
- end
- os.pullEvent("redstone")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement