Advertisement
Guest User

Untitled

a guest
Jul 15th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 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. execute console command "givetokens %player% %{_total}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement