variables:
bounty = 0
command /bounty [<text>] [<player>] [<text>]:
permission: op
permission message: &rMC-TR By Hawking
trigger:
if arg-1 is set:
if arg-2 is set:
if arg-3 is set:
if arg-1 is "Ver" or "ver":
add arg-3 to {bounty.%arg-2%}
send "&6&lSunucu &8> &c%player% &7sana &8%arg-3% &7bounty yatirdi&8!" to arg-2
send "&6&lSunucu &8> &7Islem gerceklesti&8!"
stop
if arg-1 is "Al" or "al":
remove arg-3 from {bounty.%arg-2%}
send "&6&lSunucu &8> &c%player% &7senden &8%arg-3% &7bounty aldi&8!" to arg-2
send "&6&lSunucu &8> &7Islem gerceklesti&8!"
stop
on chat:
cancel event
send "&f[&a%{bounty.%player%}%&7%player's displayname% &8> &7%message%"
stop
on death of player:
if attacker is player
if victim is player
add 14 to {bounty.%attacker%}
remove 7 from {bounty.%victim%}
send "&6&lSunucu &8> &c%victim%&7'i oldurdugun icin hesabina &314 &7bounty eklendi&8!" to attacker
send "&6&lSunucu &8> &c%attacker%&7'e oldugun icin hesabindan &37 &7bounty gitti&8!" to victim
stop