##########################
#Ayarlayıp Çeviren goksan#
##########################
on death:
victim is a player
attacker is a player
add 1 to {toplamkill.%attacker%}
add 1 to {toplamolum.%victim%}
add 1 to {goksanxxrnw.%attacker%}
send "&2Artık Bir cinayetin var &a%{goksanxxrnw.%attacker%}%" to attacker
set {goksanxxrnw.%victim%} to 0
if {goksanxxrnw.%attacker%} is greater than {goksanxxrnw2.%attacker%}:
set {goksanxxrnw2.%attacker%} to {goksanxxrnw.%attacker%}
send "&2Your new best ks is &a%{goksanxxrnw2.%attacker%}% &2!" to attacker
on first join:
set {toplamkill.%player%} to 0
set {toplamolum.%player%} to 0
set {goksanxxrnw.%player%} to 0
set {goksanxxrnw2.%player%} to 0
options:
prefix: &7[&2Durum&7]
command /durum [<text>]:
trigger:
if arg 1 is not set:
send "&8&m----------&r &a&lSenin Durumun &8&m----------&r" to player
send "&aToplam Öldürme: &2%{toplamkill.%player%}%" to player
send "&aToplam Ölme: &2%{toplamolum.%player%}%" to player
send "&aEn Iyı: &2%{goksanxxrnw2.%player%}%" to player
stop
if arg 1 is set:
if player have permission "stats.other":
send "&8&m----------&r &a&l%arg 1%'s Durumlar &8&m----------&r" to player
send "&aToplam Öldürme: &2%{toplamkill.%arg 1%}%" to player
send "&aToplam Ölme: &2%{toplamolum.%arg 1%}%" to player
send "&aEn Iyı: &2%{goksanxxrnw2.%arg 1%}%" to player
stop
command /sıfırladurum [<player>]:
trigger:
if player have permission "stats.reset":
if arg 1 is not set:
set {toplamkill.%player%} to 0
set {toplamolum.%player%} to 0
set {sessionkills.%player%} to 0
set {sessiondeaths.%player%} to 0
set {goksanxxrnw.%player%} to 0
set {goksanxxrnw2.%player%} to 0
send "{@prefix} &2Your stats have been reset" to player
stop
else:
set {toplamkill.%arg 1%} to 0
set {toplamolum.%arg 1%} to 0
set {sessionkills.%arg 1%} to 0
set {sessiondeaths.%arg 1%} to 0
set {goksanxxrnw.%arg 1%} to 0
set {goksanxxrnw2.%arg 1%} to 0
send "{@prefix} &2%arg 1% Sıfırladın" to player
stop
else:
send "{@prefix} &cYetkin Yok!" to player