Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /trade:
- trigger:
- loop all the items in the player's inventory:
- loop-item is gold ore
- add item amount of loop-item to {_total}
- remove loop-item from loop-item
- set {_total} to round({_total} / 8)
- if {_total} is set:
- 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."
- else:
- 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