toxamin

Untitled

May 18th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. #==========================================#
  2.  
  3.  
  4. Options:
  5. prefix: &e&lRename &b&l>
  6. permmsg: &cNo Permission
  7.  
  8. #==========================================#
  9.  
  10. command /Rename [<text>] [<text>]:
  11. permission: Rename.Item
  12. description: Tool rename command. Supports color codes!
  13. trigger:
  14. if arg-1 is "name":
  15. if length of arg-2 is bigger than 32:
  16. send "{@prefix} &cToo Lare of a Item Name"
  17. stop
  18. if player's tool is not air:
  19. set name of player's tool to "%coloured arg-2%"
  20. send "{@prefix} &aRenounced correctly"
  21. else:
  22. send "{@prefix} &cYou Are Holding Air"
  23. else:
  24. send "{@prefix} &a/Rename Help"
  25.  
  26. if arg-1 is "lore":
  27. if player's tool is not air:
  28. set lore of player's tool to "%coloured arg-2%"
  29. else:
  30. send "{@prefix} &cYou Are Holding Air"
  31.  
  32. if arg-1 is "help":
  33. send "&a-----------------------------------------------------"
  34. send " &f&lSimpleRename"
  35. send "&e/Rename Name &8[&cName&8] &7To change the name of the item "
  36. send "&e/Rename lore &8[&cLoreName&8] &7To change the lore of the item?"
  37. send "&e/Rename Help &7Main Command"
  38. send "&a----------------------------------------------------"
  39. stop
Advertisement
Add Comment
Please, Sign In to add comment