command /avcıol:
trigger:
if player has permission "rutbe.insan":
send player title "&aRütbe atlandı" with subtitle "&fBaşarıyla terfi edildiniz" for 4 seconds
execute console command "manuadd %player% avci"
else if player has permission "rutbe.avci":
if {oldurme::%player%} is greater than or equal to 10:
send player title "&aRütbe atlandı" with subtitle "&fBaşarıyla terfi edildiniz" for 4 seconds
execute console command "manuadd %player% avci+"
else:
message "&7Yeterli sayıda oyuncu öldürmemişsiniz."
else if player has permission "rutbe.avci+":
if {oldurme::%player%} is greater than or equal to 20:
send player title "&aRütbe atlandı" with subtitle "&fBaşarıyla terfi edildiniz" for 4 seconds
execute console command "manuadd %player% avci++"
else:
message "&7Yeterli sayıda oyuncu öldürmemişsiniz."
else:
message "&7Bulunduğunuz grup rütbe atlamak için müsait değil."
on death:
attacker is a player
victim is a player
add 1 to {oldurme::%attacker%}