Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- l
- local component = require("component")
- local shell = require("shell")
- local args,options = shell.parse(...)
- local color = args[1]
- print(color)
- --[[ this works fine --]]
- for componentAddress, componentType in component.list("colorful_lamp") do component.invoke(componentAddress, "setLampColor", --[[ tho here it doesnt> --]]color]) end
Add Comment
Please, Sign In to add comment