dr_f_REDACTED

why is this wrong

Jul 4th, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. l
  2. local component = require("component")
  3. local shell = require("shell")
  4.  
  5. local args,options = shell.parse(...)
  6. local color = args[1]
  7. print(color)
  8. --[[ this works fine --]]
  9. 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