Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local trueSlot
- rednet.open("left")
- local senderIDI, slot = rednet.receive()
- sleep(0.2)
- local senderIDA, amount = rednet.receive()
- if slot == 17 then
- trueSlot = 1
- else if slot == 18 then
- trueSlot = 2
- else if slot == 19 then
- trueSlot = 3
- else if slot == 20 then
- trueSlot = 4
- else if slot == 21 then
- trueSlot = 5
- else if slot == 22 then
- trueSlot = 6
- else if slot == 23 then
- trueSlot = 7
- else if slot == 24 then
- trueSlot = 8
- else if slot == 25 then
- trueSlot = 9
- else if slot == 26 then
- trueSlot = 10
- else if slot == 27 then
- trueSlot = 11
- else if slot == 28 then
- trueSlot = 12
- else if slot == 29 then
- trueSlot = 13
- else if slot == 30 then
- trueSlot = 14
- else if slot == 31 then
- trueSlot = 15
- else if slot == 32 then
- trueSlot = 16
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- print(senderIDI)
- print(trueSlot)
- print(senderIDA)
- print(amount)
- sleep(10)
- rednet.close("left")
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment