Arda
Konuşmak bedava, bana kodu göster! -Linus Torvalds
şöyle bir skript kullanıyorum mesela oyuncu emekli rütbesine kadar geldi sonra vip oldu vipi bitince oto oyuncu oluyor birdaha rütbe atlamak istediğinde atlıyamıyor
Kod:
command /soyluol:
trigger:
if {fccoin.%player%} is greater than 299999:
if player has permission "soylu.ol":
if {soyluu::%player%} is not set:
set {soyluu::%player%} to true
add -300000 to {fccoin.%player%}
execute console command "manuadd %player% soylu"
execute console command "tm msg %player% &a&lRÜTBE ATLADIN!"
send "&e%player% &aisimli oyuncu Soylu rütbesine atlamıştır!" to players
else:
send "&aBu görevi zaten tamamlamışsın!" to player
else:
send "&cÜzgünüm! Bu rütbeye erişmek için diğer rütbeleri atlamalısın." to player
else:
send "&cÜzgünüm! Hesabında yeterli FC yok." to player
command /hükümdarol:
trigger:
if {fccoin.%player%} is greater than 499999:
if player has permission "hukumdar.ol":
if {hukumdarr::%player%} is not set:
set {hukumdarr::%player%} to true
add -50000 to {fccoin.%player%}
execute console command "manuadd %player% hükümdar"
execute console command "tm msg %player% &a&lRÜTBE ATLADIN!"
send "&e%player% &aisimli oyuncu Hükümdar rütbesine atlamıştır!" to players
else:
send "&aBu görevi zaten tamamlamışsın!" to player
else:
send "&cÜzgünüm! Bu rütbeye erişmek için diğer rütbeleri atlamalısın." to player
else:
send "&cÜzgünüm! Hesabında yeterli FC yok." to player
command /önderol:
trigger:
if {fccoin.%player%} is greater than 749000:
if player has permission "onder.ol":
if {onderr::%player%} is not set:
set {onderr::%player%} to true
add -750000 to {fccoin.%player%}
execute console command "manuadd %player% önder"
execute console command "tm msg %player% &a&lRÜTBE ATLADIN!"
send "&e%player% &aisimli oyuncu Önder rütbesine atlamıştır!" to players
else:
send "&aBu görevi zaten tamamlamışsın!" to player
else:
send "&cÜzgünüm! Bu rütbeye erişmek için diğer rütbeleri atlamalısın." to player
else:
send "&cÜzgünüm! Hesabında yeterli FC yok." to player
command /cellatol:
trigger:
if {fccoin.%player%} is greater than 999999:
if player has permission "cellat.ol":
if {cellatt::%player%} is not set:
set {cellatt::%player%} to true
add -1000000 to {fccoin.%player%}
execute console command "manuadd %player% cellat"
execute console command "tm msg %player% &a&lRÜTBE ATLADIN!"
send "&e%player% &aisimli oyuncu Cellat rütbesine atlamıştır!" to players
else:
send "&aBu görevi zaten tamamlamışsın!" to player
else:
send "&cÜzgünüm! Bu rütbeye erişmek için diğer rütbeleri atlamalısın." to player
else:
send "&cÜzgünüm! Hesabında yeterli FC yok." to player
command /darbederol:
trigger:
if {fccoin.%player%} is greater than 1999999:
if player has permission "darbeder.ol":
if {darbederr::%player%} is not set:
set {darbederr::%player%} to true
add -2000000 to {fccoin.%player%}
execute console command "manuadd %player% darbeder"
execute console command "tm msg %player% &a&lRÜTBE ATLADIN!"
send "&e%player% &aisimli oyuncu Darbeder rütbesine atlamıştır!" to players
else:
send "&aBu görevi zaten tamamlamışsın!" to player
else:
send "&cÜzgünüm! Bu rütbeye erişmek için diğer rütbeleri atlamalısın." to player
else:
send "&cÜzgünüm! Hesabında yeterli FC yok." to player
command /emekliol:
trigger:
if {fccoin.%player%} is greater than 2999999:
if player has permission "emekli.ol":
if {emeklii::%player%} is not set:
set {emeklii::%player%} to true
add -3000000 to {fccoin.%player%}
execute console command "manuadd %player% emekli"
execute console command "tm msg %player% &a&lRÜTBE ATLADIN!"
send "&e%player% &aisimli oyuncu Emekli rütbesine atlamıştır!" to players
else:
send "&aBu görevi zaten tamamlamışsın!" to player
else:
send "&cÜzgünüm! Bu rütbeye erişmek için diğer rütbeleri atlamalısın." to player
else:
send "&cÜzgünüm! Hesabında yeterli FC yok." to player