Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = {...}
- local modem = peripheral.wrap('back')
- local itemName = args[1]
- local amount = args[2]
- modem.open(5)
- modem.transmit(41777,5,{itemName,amount})
- local e,s,schan,rchan,message,rdist = os.pullEvent("modem_message")
- modem.close(5)
- print(message)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement