- Katılım
- 30 May 2019
- Mesajlar
- 86
- Beğeni
- 49
- Puanları
- 1,505
JavaScript:
options:
nopermission: &7Yetkiniz yok!
prefix: &8[&6Istatiklerin&8]
on login:
set {kills.%player%} to 0
set {deaths.%player%} to 0
command /statsifirla [<player>]:
permission message: {@prefix} {@nopermission}
permission: statsifirla.perm
trigger:
if arg 1 is set:
set {kills.%arg 1%} to 0
set {deaths.%arg 1%} to 0
send "{@prefix} %arg 1's %&c 's statlarini sifirladi&8!" to player
send "{@prefix} &6Statların sıfırlandı!&8!"
command /stat [<player>]:
trigger:
if arg 1 is set:
send "&8&m----------------------------------------------------" to player
send "{@prefix} &3Player&8: %player%"
send "{@prefix} &3Kills&8:&f %{kills.%arg 1%}%" to player
send "{@prefix} &3Deaths&8:&f %{deaths.%arg 1%}%" to player
send "&8&m----------------------------------------------------" to player
else:
send "&8&m----------------------------------------------------" to player
send "{@prefix} &3Adin&8: &2%player%"
send "{@prefix} &3Oldurmen&8:&f %{kills.%player%}%" to player
send "{@prefix} &3Olmen&8:&f %{deaths.%player%}%" to player
send "&8&m----------------------------------------------------" to player
on death:
add 1 to {kills.%attacker%}
add 1 to {deaths.%victim%}
Son düzenleme: