Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local channelProtocol = wBlazeSpawnerFarm1
- rednet.open("left")
- local a = true
- local SLOTS = 16
- print("listening on rednet")
- while a==true do
- local senderID, msg = rednet.receive(channelProtocol)
- if msg=="stop" then
- a = false
- print("Clearing Inventory")
- for i = 1, SLOTS, 1 do
- turtle.select(i)
- turtle.dropDown()
- end
- print("Stopping")
- os.reboot()
- end
- if msg=="start" then
- local id = multishell.launch({}, "attack")
- end
- end
Add Comment
Please, Sign In to add comment