imguir

Skript: Venda de lapis por comando

Aug 7th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 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. stop
  8. if arg 1 is "lapis":
  9. if player has 2240 lapis lazuli:
  10. add 2240 to the player's balance
  11. remove 2240 lapis lazuli from the player
  12. send "&7VocĂȘ vendeu &a2240 lapis lazuli &7por &a2240$&7."
  13. stop
  14. else:
  15. message "&cVocĂȘ precisa ter 2240 lapis para vender"
  16. else:
  17. message "&cRequer permissao!"
Advertisement
Add Comment
Please, Sign In to add comment