Onenrico

Color Name

May 22nd, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. command /color [<text>]:
  2. trigger:
  3. add "black.&0" to {_listcolor::*}
  4. add "blue.&1" to {_listcolor::*}
  5. add "green.&2" to {_listcolor::*}
  6. add "cyan.&3" to {_listcolor::*}
  7. add "red.&4" to {_listcolor::*}
  8. add "magenta.&5" to {_listcolor::*}
  9. add "gold.&6" to {_listcolor::*}
  10. add "gray.&7" to {_listcolor::*}
  11. add "ash.&8" to {_listcolor::*}
  12. add "gaktauwarnaapa :V.&9" to {_listcolor::*}
  13. add "lime.&a" to {_listcolor::*}
  14. add "aqua.&b" to {_listcolor::*}
  15. add "pink.&c" to {_listcolor::*}
  16. add "purple.&d" to {_listcolor::*}
  17. add "yellow.&e" to {_listcolor::*}
  18. add "white.&f" to {_listcolor::*}
  19. loop {_listcolor::*}:
  20. set {_huruf::*} to loop-value split at "."
  21. if arg 1 is {_huruf::1}:
  22. set {_color} to colored {_huruf::2}
  23. player command "/nick %{_color}%%player%"
  24. stop
  25. loop {_listcolor::*}:
  26. send "&nList Color":
  27. send " "
  28. send "%{_huruf::1}%"
Advertisement
Add Comment
Please, Sign In to add comment