skypop

ZombieSelector Cells (DiskStartup)

Sep 20th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. --Cells Disk Startup : Zombie Selector
  2. local idList = {
  3.     [9]=1,
  4.     [13]=2,
  5.     [10]=3,
  6.     [12]=4,
  7.     [14]=5,
  8. }
  9.  
  10. if idList[os.getComputerID()] then
  11.     local wi = peripheral.find("WorldInterface")
  12.     --Coords: Redstone Analog Signal on top of master computer
  13.     local test = wi.getBlockInfos(-759,61,603).powerStrength
  14.     if test==idList[os.getComputerID()] then
  15.         shell.run("rs pulse top 1 1.6")
  16.     end
  17.     os.shutdown()
  18. end
Add Comment
Please, Sign In to add comment