Advertisement
akihex

enderCoder

Aug 1st, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. local args = {...}
  2.  
  3. 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}
  4.  
  5. local ender = peripheral.wrap("right")
  6.  
  7. local col1 = cols[args[1]]
  8. local col2 = cols[args[2]]
  9. local col3 = cols[args[3]]
  10.  
  11. ender.setColors(col1,col2,col3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement