Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. mmand /bounty [<player>] [<number>]:
  2. trigger:
  3. if arg 1 is not set:
  4. send "You have to set a player!"
  5. if arg 2 is not set:
  6. send "You have to set an amount of money!"
  7. if arg 1 and arg 2 are set:
  8. if player's balance is greater or equal to arg 2:
  9. remove arg 2 from player's balance
  10. add arg 2 to {bounty.%arg 1%}
  11. send "&9You placed a bounty on &c%arg 1%&9 amount:&a $%arg 2%"
  12. else:
  13. send "&cYou don't have enough money!"
  14. on death:
  15. if victim is a player:
  16. if attacker is a player:
  17. if victim's {bounty.%arg 1%} is greater than 0:
  18. command /bountycheck:
  19. trigger:
  20. send "Your bounty is: %{bounty.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement