Skript Yazdim Hatali

GökhanGençcan

Ağaç Yumruklayıcı
En iyi cevaplar
0
Skript Yazdim Fakat
Yazdigim Skript
Hatali Arkadaslar
Tablarda Hata Yok

Fakat
/ox yanlis (soru)
Yazdigimda Soru Dogru Oluyor
/ox dogru (soru)
Yazdigimdada Dogru Oluyor

Lütfen Düzeltebilen Varsa
Elleri Dert Görmesin
Simdiden Tesekkürler
Umarim Anlatabilmisimdir
İşte Skript:

Kod:
options:
                1: &7&lSon &d&l1 &7&lSaniye...
                2: &7&lSon &d&l2 &7&lSaniye...
                3: &7&lSon &d&l3 &7&lSaniye...
                4: &7&lSon &d&l4 &7&lSaniye...
                5: &7&lSon &d&l5 &7&lSaniye...
                tag: &7&l>> &e&lSoru &c&l|
                dogru: &6&lBu Soru &c&l|| &a&lDogru
                yanlis: &6&lBu Soru &c&l|| &c&lYanlis
               
command /ox <text> <text>:
                permission: "sk.ox"
                permission message: &c&lBu Komutu Kullanabilmek İçin Gerekli Yetkiye Sahip Degilsiniz.
                usage: &b&l/ox &7(&aD&f&l/&4Y&7) &7(&bSoru&7)
                trigger:
                                if player has permission "sk.ox":
                                broadcast "{@tag} &d&l%arg 2%"
                                wait 5 second
                                broadcast "{@tag} {@5}"
                                wait 1 second
                                broadcast "{@tag} {@4}"
                                wait 1 second
                                broadcast "{@tag} {@3}"
                                wait 1 second
                                broadcast "{@tag} {@2}"
                                wait 1 second
                                broadcast "{@tag} {@1}"
                               
                                if arg 2 is "Dogru":
                                wait 2 second
                                execute player command "/rg select kirmizi"
                                wait 2 second
                                broadcast "{@tag} {@dogru}"
                                execute player command "//set 0"
                                wait 3 second
                                execute player command "//set 159:14"
                                wait 2 second
                                execute console command "oxalaniyenile"
                               
                                if arg 2 is "Yanlis":
                                wait 2 second
                                execute player command "/rg select yesil"
                                wait 2 second
                                broadcast "{@tag} {@yanlis}"
                                execute player command "//set 0"
                                wait 3 second
                                execute player command "//set 159:5"
                                wait 2 second
                                execute console command "oxalaniyenile"

command /oxalaniyenile:
        permission: "ox.alaniyenile"
        permission message: &c&lBu Komutu Kullanabilmek İçin Gerekli Yetkiye Sahip Degilsiniz.
        usage: &b&l/soru &6&l<&2&lO&7&l/&4&lX&6&l> &6&l<&7&lSorulacak Soru&6&l>
        trigger:
                if player has permission "ox.alaniyenile":
                        wait 2 second
                        execute player command "rg select kirmizi"
                        execute player command "//set 159:14"               
                        wait 2 second
                        execute player command "rg select yesil"
                        execute player command "//set 159:5"
 

LifeMCServer

Nether Yerlisi
En iyi cevaplar
98
Bunu bir denermisin ?

JavaScript:
options:
    1: &7&lSon &d&l1 &7&lSaniye...
    2: &7&lSon &d&l2 &7&lSaniye...
    3: &7&lSon &d&l3 &7&lSaniye...
    4: &7&lSon &d&l4 &7&lSaniye...
    5: &7&lSon &d&l5 &7&lSaniye...
    tag: &7&l>> &e&lSoru &c&l|
    dogru: &6&lBu Soru &c&l|| &a&lDogru
    yanlis: &6&lBu Soru &c&l|| &c&lYanlis
              
command /ox <text> <text>:
    permission: "sk.ox"
    permission message: &c&lBu Komutu Kullanabilmek İçin Gerekli Yetkiye Sahip Degilsiniz.
    usage: &b&l/ox &7(&aDogru&f&l/&4Yanlis&7) &7(&bSoru&7)
    trigger:
        if player has permission "sk.ox":
            broadcast "{@tag} &d&l%arg 2%"
            wait 5 second
            broadcast "{@tag} {@5}"
            wait 1 second
            broadcast "{@tag} {@4}"
            wait 1 second
            broadcast "{@tag} {@3}"
            wait 1 second
            broadcast "{@tag} {@2}"
            wait 1 second
            broadcast "{@tag} {@1}"                              
            if arg 2 is "Dogru":
                wait 2 second
                execute player command "/rg select kirmizi"
                wait 2 second
                broadcast "{@tag} {@dogru}"
                execute player command "//set 0"
                wait 3 second
                execute player command "//set 159:14"
                wait 2 second
                execute console command "oxalaniyenile"                              
            else if arg 2 is "Yanlis":
                wait 2 second
                execute player command "/rg select yesil"
                wait 2 second
                broadcast "{@tag} {@yanlis}"
                execute player command "//set 0"
                wait 3 second
                execute player command "//set 159:5"
                wait 2 second
                execute console command "oxalaniyenile"
        else:
            send "&c&lBu Komutu Kullanabilmek İçin Gerekli Yetkiye Sahip Degilsiniz."

command /oxalaniyenile:
    permission: "ox.alaniyenile"
    permission message: &c&lBu Komutu Kullanabilmek İçin Gerekli Yetkiye Sahip Degilsiniz.
    usage: &b&l/soru &6&l<&2&lO&7&l/&4&lX&6&l> &6&l<&7&lSorulacak Soru&6&l>
    trigger:
        if player has permission "ox.alaniyenile":
            wait 2 second
            execute player command "rg select kirmizi"
            execute player command "//set 159:14"             
            wait 2 second
            execute player command "rg select yesil"
            execute player command "//set 159:5"
 

GökhanGençcan

Ağaç Yumruklayıcı
En iyi cevaplar
0
Bunu bir denermisin ?

JavaScript:
options:
    1: &7&lSon &d&l1 &7&lSaniye...
    2: &7&lSon &d&l2 &7&lSaniye...
    3: &7&lSon &d&l3 &7&lSaniye...
    4: &7&lSon &d&l4 &7&lSaniye...
    5: &7&lSon &d&l5 &7&lSaniye...
    tag: &7&l>> &e&lSoru &c&l|
    dogru: &6&lBu Soru &c&l|| &a&lDogru
    yanlis: &6&lBu Soru &c&l|| &c&lYanlis
             
command /ox <text> <text>:
    permission: "sk.ox"
    permission message: &c&lBu Komutu Kullanabilmek İçin Gerekli Yetkiye Sahip Degilsiniz.
    usage: &b&l/ox &7(&aDogru&f&l/&4Yanlis&7) &7(&bSoru&7)
    trigger:
        if player has permission "sk.ox":
            broadcast "{@tag} &d&l%arg 2%"
            wait 5 second
            broadcast "{@tag} {@5}"
            wait 1 second
            broadcast "{@tag} {@4}"
            wait 1 second
            broadcast "{@tag} {@3}"
            wait 1 second
            broadcast "{@tag} {@2}"
            wait 1 second
            broadcast "{@tag} {@1}"                             
            if arg 2 is "Dogru":
                wait 2 second
                execute player command "/rg select kirmizi"
                wait 2 second
                broadcast "{@tag} {@dogru}"
                execute player command "//set 0"
                wait 3 second
                execute player command "//set 159:14"
                wait 2 second
                execute console command "oxalaniyenile"                             
            else if arg 2 is "Yanlis":
                wait 2 second
                execute player command "/rg select yesil"
                wait 2 second
                broadcast "{@tag} {@yanlis}"
                execute player command "//set 0"
                wait 3 second
                execute player command "//set 159:5"
                wait 2 second
                execute console command "oxalaniyenile"
        else:
            send "&c&lBu Komutu Kullanabilmek İçin Gerekli Yetkiye Sahip Degilsiniz."

command /oxalaniyenile:
    permission: "ox.alaniyenile"
    permission message: &c&lBu Komutu Kullanabilmek İçin Gerekli Yetkiye Sahip Degilsiniz.
    usage: &b&l/soru &6&l<&2&lO&7&l/&4&lX&6&l> &6&l<&7&lSorulacak Soru&6&l>
    trigger:
        if player has permission "ox.alaniyenile":
            wait 2 second
            execute player command "rg select kirmizi"
            execute player command "//set 159:14"            
            wait 2 second
            execute player command "rg select yesil"
            execute player command "//set 159:5"
Saol Adamsin Oldu <3
 
Üst