Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local arg1, arg2 = ...
- if arg1 == "getpower" then
- rednet.send(133,"stored","powerstat1")
- local senderid, message, protocol = rednet.receive()
- print(message)
- else if arg1 == "getpeople" then
- rednet.send(135,"aa605")
- local senderid, message, protocol = rednet.receive()
- print(message)
- else if arg1 == "help" then
- print("Use either station getpeople or station getpower!")
- else
- print("Wrong usage! Do station help for help!")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement