Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. on chat: #to Tropinq
  2. set {_Tool} to player's tool
  3. set {_Name} to name of player's tool
  4. if message contains "[item]":
  5. if lore of player's tool is not set:
  6. set {_Lore} to "&7"
  7. if lore of player's tool is set:
  8. set {_Lore} to "&7with lore &a%lore of player's tool%&7"
  9. if {_Name} is not set:
  10. set {_Name} to "&7"
  11. if {_Name} is set:
  12. set {_Name} to "&7named &8(&e%{_Name}%&8)"
  13. if enchantments of player's tool is not set:
  14. set {_Enchantments} to "&7"
  15. if enchantments of player's tool is set:
  16. set {_Enchantments} to "&7with enchantments &8(&c%enchantments of player's tool%&8)
  17. replace all "[item]" with "&8[&b%{_Tool}%&8] %{_Name}%&8) %{_Lore}% %{_Enchantments}%" in message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement