Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = {...}
- local cols = {magenta=colors.magenta, brown=colors.brown, yellow=colors.yellow, lightgray=colors.lightGray, purple=colors.purple, black=colors.black, cyan=colors.cyan, orange=colors.orange, gray=colors.gray, red=colors.red, lime=colors.lime, pink=colors.pink, green=colors.green, lightblue=colors.lightBlue, blue=colors.blue, white=colors.white}
- local ender = peripheral.wrap("right")
- local col1 = cols[args[1]]
- local col2 = cols[args[2]]
- local col3 = cols[args[3]]
- ender.setColors(col1,col2,col3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement