SHARE
TWEET

pinoccio-craft

a guest Sep 11th, 2014 211 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.   if redstone.getInput("back") then
  3.     local example = http.post("https://api.pinocc.io/v1/1/1/command", "command=led.red&token={Your token Here}")
  4.   end
  5.   if redstone.getInput("back") then
  6.     local example = http.post("https://api.pinocc.io/v1/1/1/command", "command=led.blue&token={Your token Here}")
  7.   end
  8. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top