LostRanger

stargate redstone control program for sg craft

Jul 28th, 2020 (edited)
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | None | 0 0
  1. sg = peripheral.find("stargate")
  2.  
  3. print("STARGATE redstone control device")
  4. print("")
  5. print("write like")
  6. print("ABCDEFGHI")
  7. print("")
  8. print("redstone signals activate the gate")
  9. print("")
  10. print("")
  11. print("get an advanced program that saves the address after restart at:")
  12. print("pastebin get EdK05AsK")
  13. print("")
  14. print("")
  15.  
  16. print("insert gate adress:")
  17. adress = read()
  18.  
  19. while true do
  20.   local event = os.pullEvent("redstone")
  21.   print("Redstone input changed..... dialing")
  22.     sg.dial(adress)
  23. end
Add Comment
Please, Sign In to add comment