options:
prefix: &9&lRANK &6&l>
paranyok: &cRank atlamak için yeteri kadar paran yok!
sonrank: &aZaten en yüksek rütbedesin :)
yetkili: &5Vip &aveya &4Yetkili &aolduğun için rütbe atlayamazsın!
command /rankup:
trigger:
if player doesn't have the permission "sk.vip" or "sk.donater":
if {onbasi.%player%} is not set:
if player's balance is bigger than or equal to 20000:
set {onbasi.%player%} to true
delete {maresal.%player%}
execute console command "eco take %player% 20000"
execute console command "rankatlat %player% Onbasi"
stop
else:
send " {@prefix} {@paranyok}"
if {cavus.%player%} is not set:
if player's balance is bigger than or equal to 40000:
set {cavus.%player%} to true
delete {uzmanonbasi.%player%}
execute console command "eco take %player% 40000"
execute console command "rankatlat %player% Cavus"
stop
else:
send " {@prefix} {@paranyok}"
if {uzmanonbasi.%player%} is not set:
if player's balance is bigger than or equal to 80000:
set {uzmanonbasi.%player%} to true
delete {uzmancavus.%player%}
execute console command "eco take %player% 80000"
execute console command "rankatlat %player% UzmanOnbasi"
stop
else:
send " {@prefix} {@paranyok}"
if {uzmancavus.%player%} is not set:
if player's balance is bigger than or equal to 120000:
set {uzmancavus.%player%} to true
delete {astsubay.%player%}
execute console command "eco take %player% 120000"
execute console command "rankatlat %player% UzmanCavus"
stop
else:
send " {@prefix} {@paranyok}"
if {astsubay.%player%} is not set:
if player's balance is bigger than or equal to 200000:
set {astsubay.%player%} to true
delete {astegmen.%player%}
execute console command "eco take %player% 200000"
execute console command "rankatlat %player% Astsubay"
stop
else:
send " {@prefix} {@paranyok}"
if {astegmen.%player%} is not set:
if player's balance is bigger than or equal to 400000:
set {astegmen.%player%} to true
delete {tegmen.%player%}
execute console command "eco take %player% 400000"
execute console command "rankatlat %player% Astegmen"
stop
else:
send " {@prefix} {@paranyok}"
if {tegmen.%player%} is not set:
if player's balance is bigger than or equal to 500000:
set {tegmen.%player%} to true
delete {usttegmen.%player%}
execute console command "eco take %player% 500000"
execute console command "rankatlat %player% Tegmen"
stop
else:
send " {@prefix} {@paranyok}"
if {usttegmen.%player%} is not set:
if player's balance is bigger than or equal to 800000:
set {usttegmen.%player%} to true
delete {yuzbasi.%player%}
execute console command "eco take %player% 800000"
execute console command "rankatlat %player% UstTegmen"
stop
else:
send " {@prefix} {@paranyok}"
if {yuzbasi.%player%} is not set:
if player's balance is bigger than or equal to 1400000:
set {yuzbasi.%player%} to true
delete {binbasi.%player%}
execute console command "eco take %player% 1400000"
execute console command "rankatlat %player% Yuzbasi"
stop
else:
send " {@prefix} {@paranyok}"
if {binbasi.%player%} is not set:
if player's balance is bigger than or equal to 2800000:
set {binbasi.%player%} to true
set {yarbay.%player%} to true
execute console command "eco take %player% 2800000"
execute console command "rankatlat %player% Binbasi"
stop
else:
send " {@prefix} {@paranyok}"
if {yarbay.%player%} is not set:
if player's balance is bigger than or equal to 4000000:
set {yarbay.%player%} to true
delete {albay.%player%}
execute console command "eco take %player% 4000000"
execute console command "rankatlat %player% Yarbay"
stop
else:
send " {@prefix} {@paranyok}"
if {albay.%player%} is not set:
if player's balance is bigger than or equal to 6000000:
set {albay.%player%} to true
delete {genelkurmay.%player%}
execute console command "eco take %player% 6000000"
execute console command "rankatlat %player% Albay"
stop
else:
send " {@prefix} {@paranyok}"
if {genelkurmay.%player%} is not set:
if player's balance is bigger than or equal to 8000000:
set {genelkurmay.%player%} to true
delete {maresal.%player%}
execute console command "eco take %player% 8000000"
execute console command "rankatlat %player% Genelkurmay"
stop
else:
send " {@prefix} {@paranyok}"
if {maresal.%player%} is not set:
if player's balance is bigger than or equal to 10000000:
set {maresal.%player%} to true
set {rank.son.%player%} to true
execute console command "eco take %player% 10000000"
execute console command "rankatlat %player% Maresal"
stop
else:
send " {@prefix} {@paranyok}"
if {rank.son.%player%} is set:
send " {@prefix} {@sonrank}"
else:
send " {@prefix} {@yetkili}"