Advertisement
Guest User

Untitled

a guest
Jul 15th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. command /trade:
  2. trigger:
  3. loop all the items in the player's inventory:
  4. loop-item is gold ore
  5. add item amount of loop-item to {_total}
  6. remove loop-item from loop-item
  7. set {_total} to round({_total} / 8)
  8. if {_total} is set:
  9. execute console command "/give %player% sunflower %{_total}% name:&r&4&r&2&l&oMINE&a&l&oRUSH_&r&7Token lore:&r&3&r&7&9&7&oUsed_to_upgrade_your_pickaxe."
  10. else:
  11. send "&r&2&l&oMINE&a&l&oRUSH &r&8ยป &r&7No ores to trade."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement