Advertisement
sasaa86

CC-controller

Feb 1st, 2021
852
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. modem = peripheral.wrap("back")
  2. term.clear()
  3. channel = 69
  4. modem.open(channel)
  5. local Main = false
  6.  
  7. while true do
  8.     term.clear()
  9.     term.setCursorPos(1, 1)
  10.     print("computer id: ".. os.getComputerID())
  11.     print("modem-kanaal: "..channel)
  12.     term.setCursorPos(1, 4)
  13.     print("Creeper-on / Creeper-off")
  14.     print("Witch-on / Witch-off")
  15.     print("Blaze-on / Blaze-off")
  16.     print("Wither-on / Wither-off")
  17.     term.setCursorPos(1, 10)
  18.     print("What spawner to toggle?: ")
  19.     term.setCursorPos(1, 11)
  20.     input = read()
  21.     modem.transmit(32,32, input)
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement