Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mmand /bounty [<player>] [<number>]:
- trigger:
- if arg 1 is not set:
- send "You have to set a player!"
- if arg 2 is not set:
- send "You have to set an amount of money!"
- if arg 1 and arg 2 are set:
- if player's balance is greater or equal to arg 2:
- remove arg 2 from player's balance
- add arg 2 to {bounty.%arg 1%}
- send "&9You placed a bounty on &c%arg 1%&9 amount:&a $%arg 2%"
- else:
- send "&cYou don't have enough money!"
- on death:
- if victim is a player:
- if attacker is a player:
- if victim's {bounty.%arg 1%} is greater than 0:
- command /bountycheck:
- trigger:
- send "Your bounty is: %{bounty.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement