Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /vender [<text>]:
- trigger:
- if player has permission "vender.use":
- if arg 1 is not set:
- send "&cUse: /vender <minerio>"
- send "&bMinerios: lapis."
- stop
- if arg 1 is "lapis":
- if player has 2240 lapis lazuli:
- add 2240 to the player's balance
- remove 2240 lapis lazuli from the player
- send "&7VocĂȘ vendeu &a2240 lapis lazuli &7por &a2240$&7."
- stop
- else:
- message "&cVocĂȘ precisa ter 2240 lapis para vender"
- else:
- message "&cRequer permissao!"
Advertisement
Add Comment
Please, Sign In to add comment