Rankup SKRİPT Devamını getiremedim [YARDIM]

MelihElkoca

Altın Benim Yeni Sevgilim
Katılım
4 Aralık 2016
Mesajlar
441
Elmaslar
301
Puan
14.070
  • Kod:
    options:
        prefix: &c&l[&r &eRütbe Gardiyanı &c&l]&r &3» &e
        oyuncu: &f&l[&r &eOyuncu &f&l]&r
        tecrubeli: &f&l[&r &cTecrübeli &f&l]&r
    command /rutbe atla:
        aliases: /ra
        trigger:
            if {rt.%player%} isn't set:
                if player's balance is greater than or equal to 1000:
                    execute console command "/eco take %player% 1000"#essentials money take komutu bu < < <
                    set {rt.%player%} to "oyuncu"
                    send "{@prefix}Oyuncu rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                    stop
                else:
                    send "{@prefix}Bir sonraki rütbeye (oyuncu) atlamak için 1000TL gerekli." to player
                    stop
            else if {rt.%player%} is "oyuncu":
                if player's balance is greater than or equal to 2000:
                    execute console command "/eco take %player% 2000"
                    set {rt.%player%} to "tecrubeli"
                    send "{@prefix}Tecrübeli rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                    stop
                else:
                    send "{@prefix}Bir sonraki rütbeye (tecrübeli) atlamak için 2000TL gerekli." to player
                    stop
    on chat:
        if {rt.%player%} is "oyuncu":
            cancel event
            set {_mesaj} to message
            send "{@oyuncu} &c%player% &3» %{_mesaj}%." to all players
        else if {rt.%player%} is "tecrubeli":
            cancel event
            set {_mesaj} to message
            send "{@tecrubeli} &c%player% &3» %{_mesaj}%." to all players

  • Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
    SKRİPT İ buna göre ayarliyabilir misiniz ben yaptım fakat olmadı skript de 123 hata cıktı benım yaptıgımda lütfen yardım edın herhangi bir problemde: skype :melihelkoca8
 
Kod:
options:
    prefix: &c&l[&r &eRütbe Gardiyanı &c&l]&r &3» &e
    uye: &f&l[&r &eUye &f&l]&r
    Oyuncu: &f&l[&r &cOyuncu &f&l]&r
    kotuniyetli: &f&l[&r &cKotuNiyetli &f&l]&r
    kavgaci: &f&l[&r &cKavgaci &f&l]&r
    hileli: &f&l[&r &cHileli &f&l]&r
    agresif: &f&l[&r &cAgresif &f&l]&r
    kufurbaz: &f&l[&r &cKufurbaz &f&l]&r
    tarafsiz: &f&l[&r &cTarafsiz &f&l]&r
    deneyimli: &f&l[&r &cDeneyimli &f&l]&r
    arkadasca: &f&l[&r &cArkadasca &f&l]&r
    bilgili: &f&l[&r &cBilgili &f&l]&r
    sovalye: &f&l[&r &cSOVALYE &f&l]&r
    soylu: &f&l[&r &cSOYLU &f&l]&r
    kahraman: &f&l[&r &cKAHRAMAN &f&l]&r
    efsanevi: &f&l[&r &cEFSANEVİ &f&l]&r
    imparator: &f&l[&r &cIMPARATOR &f&l]&r
command /rutbe atla:
    aliases: /ra
    trigger:
        if {rt.%player%} isn't set:
            if player's balance is greater than or equal to 1000:
                execute console command "/eco take %player% 1000"#essentials money take komutu bu < < <
                set {rt.%player%} to "uye"
                send "{@prefix}Uye rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop
            else:
                send "{@prefix}Bir sonraki rütbeye (Oyuncu) atlamak için 30000TL gerekli." to player
                stop
        else if {rt.%player%} is "oyuncu":
            if player's balance is greater than or equal to 30000:
                execute console command "/eco take %player% 30000"
                set {rt.%player%} to "oyuncu"
                send "{@prefix}Oyuncu rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop
            else:
                send "{@prefix}Bir sonraki rütbeye (KotuNiyetli) atlamak için 60000TL gerekli." to player
                stop
        else if {rt.%player%} is "kotuniyetli":
            if player's balance is greater than or equal to 60000:
                execute console command "/eco take %player% 60000"
                set {rt.%player%} to "kotuniyetli"
                send "{@prefix}KotuNiyetli rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Kavgaci) atlamak için 60000TL gerekli." to player
                stop
        else if {rt.%player%} is "kavgaci":
            if player's balance is greater than or equal to 60000:
                execute console command "/eco take %player% 60000"
                set {rt.%player%} to "kavgaci"
                send "{@prefix}Kavgaci rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Hileli) atlamak için 120000TL gerekli." to player
                stop   
        else if {rt.%player%} is "hileli":
            if player's balance is greater than or equal to 120000:
                execute console command "/eco take %player% 120000"
                set {rt.%player%} to "hileli"
                send "{@prefix}Hileli rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Agresif) atlamak için 250000TL gerekli." to player
                stop
        else if {rt.%player%} is "agresif":
            if player's balance is greater than or equal to 250000:
                execute console command "/eco take %player% 250000"
                set {rt.%player%} to "agresif"
                send "{@prefix}Agresif rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop
            else:
                send "{@prefix}Bir sonraki rütbeye (Kufurbaz) atlamak için 400000TL gerekli." to player
                stop   
        else if {rt.%player%} is "kufurbaz":
            if player's balance is greater than or equal to 400000:
                execute console command "/eco take %player% 400000"
                set {rt.%player%} to "kufurbaz"
                send "{@prefix}Kufurbaz rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Tarafsiz) atlamak için 500000TL gerekli." to player
                stop   
        else if {rt.%player%} is "tarafsiz":
            if player's balance is greater than or equal to 500000:
                execute console command "/eco take %player% 500000"
                set {rt.%player%} to "tarafsiz"
                send "{@prefix}Tarafsiz rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Deneyimli) atlamak için 600000TL gerekli." to player
                stop   
        else if {rt.%player%} is "deneyimli":
            if player's balance is greater than or equal to 600000:
                execute console command "/eco take %player% 600000"
                set {rt.%player%} to "deneyimli"
                send "{@prefix}Deneyimli rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Arkadasca) atlamak için 1000000TL gerekli." to player
                stop
        else if {rt.%player%} is "arkadasca":
            if player's balance is greater than or equal to 1000000:
                execute console command "/eco take %player% 1000000"
                set {rt.%player%} to "arkadasca"
                send "{@prefix}Arkadasca rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop
            else:
                send "{@prefix}Bir sonraki rütbeye (Bilgili) atlamak için 2000000TL gerekli." to player
                stop   
        else if {rt.%player%} is "bilgili":
            if player's balance is greater than or equal to 2000000:
                execute console command "/eco take %player% 2000000"
                set {rt.%player%} to "bilgili"
                send "{@prefix}Bilgili rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Sovalye) atlamak için 8000000TL gerekli." to player
                stop
        else if {rt.%player%} is "sovalye":
            if player's balance is greater than or equal to 8000000:
                execute console command "/eco take %player% 8000000"
                set {rt.%player%} to "sovalye"
                send "{@prefix}Sovalye rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Soylu) atlamak için 25000000TL gerekli." to player
                stop   
        else if {rt.%player%} is "soylu":
            if player's balance is greater than or equal to 25000000:
                execute console command "/eco take %player% 25000000"
                set {rt.%player%} to "soylu"
                send "{@prefix}Soylu rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Kahraman) atlamak için 5000000TL gerekli." to player
                stop   
        else if {rt.%player%} is "kahraman":
            if player's balance is greater than or equal to 5000000:
                execute console command "/eco take %player% 5000000"
                set {rt.%player%} to "kahraman"
                send "{@prefix}Kahraman rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Efsanevi) atlamak için 10000000TL gerekli." to player
                stop   
        else if {rt.%player%} is "efsanevi":
            if player's balance is greater than or equal to 10000000:
                execute console command "/eco take %player% 10000000"
                set {rt.%player%} to "efsanevi"
                send "{@prefix}Efsanevi rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
            else:
                send "{@prefix}Bir sonraki rütbeye (Imparator) atlamak için 25000000TL gerekli." to player
                stop
        else if {rt.%player%} is "imparator":
            if player's balance is greater than or equal to 25000000:
                execute console command "/eco take %player% 25000000"
                set {rt.%player%} to "imparator"
                send "{@prefix}Imparator rütbesini başarıyla aldınız! Yeni rütbeniz Hayırlı olsun..." to player
                stop   
on chat:
    if {rt.%player%} is "uye":
        cancel event
        set {_mesaj} to message
        send "{@uye} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "oyuncu":
        cancel event
        set {_mesaj} to message
        send "{@oyuncu} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "kotuniyetli":
        cancel event
        set {_mesaj} to message
        send "{@kotuniyetli} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "kavgaci":
        cancel event
        set {_mesaj} to message
        send "{@kavgaci} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "hileli":
        cancel event
        set {_mesaj} to message
        send "{@hileli} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "agresif":
        cancel event
        set {_mesaj} to message
        send "{@agresif} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "kufurbaz":
        cancel event
        set {_mesaj} to message
        send "{@kufurbaz} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "tarafsiz":
        cancel event
        set {_mesaj} to message
        send "{@tarafsiz} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "deneyimli":
        cancel event
        set {_mesaj} to message
        send "{@deneyimli} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "arkadasca":
        cancel event
        set {_mesaj} to message
        send "{@arkadasca} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "bilgili":
        cancel event
        set {_mesaj} to message
        send "{@bilgili} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "sovalye":
        cancel event
        set {_mesaj} to message
        send "{@sovalye} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "soylu":
        cancel event
        set {_mesaj} to message
        send "{@soylu} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "kahraman":
        cancel event
        set {_mesaj} to message
        send "{@kahraman} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "efsanevi":
        cancel event
        set {_mesaj} to message
        send "{@efsanevi} &c%player% &3» %{_mesaj}%." to all players
    else if {rt.%player%} is "imparator":
        cancel event
        set {_mesaj} to message
        send "{@imparator} &c%player% &3» %{_mesaj}%." to all players
Bir şeyler yaptım fakat server da gıne olmadı ya biri yardım etsın lutfen
 
verdiği hatanın resmini atarsan daha iyi anlarız bakalım nerde tab hatası var nerde hata var bakalım.
 
Bu yaptıgımda her hangi skript de hata gozukmuyor fakat oyun içi /rutbe atla uye oluyor uye den sonrası gelmıyor
 
Sanırım else kısımları üst üste bindiği için olabilir. Bütün satırları baştan sağa kaydırmamız lazım. Bunun için if bize yardım eder. Her if sonrası tab koyulur. Bunu biliyoruz. Bizde aynı satır üstünde yapmayız. Bu kadar basit aslında.
 
Ana kodda sorun yok ancak space tab sorunu vardır. Ben yazarken tab kullanıyorum siz ne kullanıyorsanız tüm satırarda onu kulllanın.
 
Bu tür işlerde yenı oldugum ıcın tab veya space onları bile bilmiyorum :D alt satıra gecınce space ile ondan bahsedıyoriseniz
 

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst