Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitors = {peripheral.wrap("monitor_0"), peripheral.wrap("monitor_1")}
- function allMonitors(action)
- for i = 1, #monitors do
- code = 'monitors[i].Write(pram)' ..action
- run = load(code)
- run()
- print(code)
- end
- end
- allMonitors("Hello World")
Advertisement
Add Comment
Please, Sign In to add comment