grantygames

Untitled

Aug 7th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. command /vender [<text>]:
  2. trigger:
  3. if player has permission "vender.use":
  4. if arg 1 is not set:
  5. send "&cUse: /vender <minerio>"
  6. send "&bMinerios: lapis."
  7. if arg 1 is "lapis":
  8. if player has 2304 lapis lazuli:
  9. add 2304 to the player's balance
  10. remove 2304 lapis lazuli from the player
  11. send "&a+2304&2$"
  12. send "&c-2304 Lapis Lazuli"
  13. else:
  14. message "&cVoce precisa ter 2304 lapis para vender"
  15. else:
  16. message "&cSem permissao"
Advertisement
Add Comment
Please, Sign In to add comment