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)
- execute console command "givetokens %player% %{_total}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement