Çözüldü 12 Tane hata var takım Skripti.

  • Konuyu Başlatan Konuyu Başlatan Vezirx
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.007
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Vezirx

Bir Kömür Göründü Kaptanım!
Katılım
16 Nisan 2017
Mesajlar
168
Elmaslar
6
Puan
0
Yaş
27
Team Skriptinde 12 Hata Var yardım edermisiniz
yEYL57.png

Kod:
options:
   
    #Takım Kurmak Için Kaç Para Istesin ?
   
    para: 999


on login:
    {takim.%player%.kurmus} isn't set:
        set {takim.%player%.kurmus} to false
on rightclick on villager:
    villager's name is "&7[&aTakım NPC&7]":
        if player is sneaking:
            kill targeted entity
        else:
            cancel event
            open chest with 1 row named "" to player
            wait 3 tick
            set {acik.%player%} to true
            {takim.%player%.kurmus} is true:
                format slot 0 of player with clock named "&7[&cTakımı Boz&7]" to close then run [make player execute command "takim boz"]
                format slot 1 of player with clock named "&7[&cTakıma Davet Et&7]" to close then run [make player execute command "takim davet"]
                format slot 2 of player with clock named "&7[&cTakımdan Çıkar&7]" to close then run [make player execute command "takim cikar"]
                format slot 3 of player with clock named "&7[&cTakım Üyeleri&7]" to close then run [make player execute command "takim liste"]
                format slot 4 of player with clock named "&7[&cTakım Sohbeti&7]" to close then run [make player execute command "takim ayarlar"]
            else:
                {takim.%player%.takimda} is true:
                    format slot 0 of player with clock named "&7[&cTakımdan Ayrıl&7]" to close then run [make player execute command "takim ayril"]
                    format slot 1 of player with clock named "&7[&cTakım Üyeleri&7]" to close then run [make player execute command "takim liste"]
                    format slot 2 of player with clock named "&7[&cTakım Sohbeti&7]" to close then run [make player execute command "takim ayarlar"]
                else:
                    format slot 0 of player with workbench named "&7[&aTakımı Kur&7]" with lore "&e{@para}$ &dKarşılığında Takım Kurar" to close then run [make player execute command "takim kur"]
            format slot 8 of player with compass named "&7[&eTakımlar&7]" to close then run [make player execute command "takim liste2"]
on inventory close:
    {acik.%player%} is true
    set {acik.%player%} to false
on damage:
    victim's display name is "&7[&aTakım NPC&7]":
        cancel event
command /takim [<text>]:
    trigger:
        arg 1 is "kur":
            {acik.%player%} is true
            {takim.%player%.kurmus} is true:
                send "&7[&aTakım&7] &cIlk Önce Takımdan Çıkmalısın !"
                stop
            else:
                player's balance is greater than {@para}:
                    set {takim.kuruyor.%player%} to true
                    send "&7[&aTakım&7] &bTakım Ismini Belirlemek Için Sohbet Kısmına Yaz !"
                else:
                    send "&7[&aTakım&7] &cYeterli Paran Bulunmamakta !"
        arg 1 is "boz":
            {acik.%player%} is true
            {takim.%player%.kurmus} is false:
                send "&7[&aTakım&7] &cHenüz Bir Takımın Yok !"
                stop
            else:
                send "&7[&aTakım&7] &bBaşarıyla &c%{takim.%player%.isim}% &badlı takımı bozdun !"
                set {takim.%player%.kurmus} to false
                loop {takim.%{takim.%player%.isim}%.üyeler::*}:
                    set {takim.%loop-value%.takimda} to false
                    remove loop-value from {takim.%{takim.%player%.isim}%.üyeler::*}
                    set {takim.%loop-value%.takimda} to false
                    delete {takim.%loop-value%.isim}
                remove {takim.%player%.isim} from {Takımlar::*}
                delete {takim.%player%.isim}
                delete {takim.%{takim.%player%.isim}%.üyeler::*}
                delete {takim.%{takim.%player%.isim}%.lider}
                execute console command "manudelv %player% prefix"
        arg 1 is "davet":
            {acik.%player%} is true
            {takim.%player%.kurmus} is false:
                send "&7[&aTakım&7] &cHenüz Bir Takımın Yok !"
                stop
            else:
                set {takim.davetliyor.%player%} to true
                send "&7[&aTakım&7] &bDavet Edeceğin Kişiyi Sohbet Kısmına Yaz !"
        arg 1 is "cikar":
            {acik.%player%} is true
            {takim.%player%.kurmus} is false:
                send "&7[&aTakım&7] &cHenüz Bir Takımın Yok !"
                stop
            else:
                set {takim.cikartiyor.%player%} to true
                send "&7[&aTakım&7] &bÇıkaracağın Kişiyi Sohbet Kısmına Yaz !"
        arg 1 is "katil":
            {davet.%player%.gönder} is false:
                send "&7[&aTakım&7] &cHenüz Bir Takıma Davet Edilmedin !"
            else:
                {takim.%player%.kurmus} is true:
                    send "&7[&aTakım&7] &cZaten Bir Takımın Var !"
                else:
                    add player to {takim.%{davet.%player%.isim}%.üyeler::*}
                    send "&7[&aTakım&7] &bBaşarıyla Takıma Girdin !"
                    set {takim.%player%.isim} to {davet.%player%.isim}
                    set {takim.%player%.takimda} to true
                    delete {davet.%player%.isim}
                    set {davet.%player%.gönder} to false  
                    execute console command "manuaddv %player% prefix &7[&6%{takim.%player%.isim}%&7]&f"  
        arg 1 is "liste":
            {acik.%player%} is true
            {takim.%player%.isim} isn't set:
                send "&7[&aTakım&7] &cHenüz Bir Takımın Yok !"
            else:
                send "&7[&aTakım&7] &cUyeler"
                send ""
                send "&4[Kurucu] &6%{takim.%{takim.%player%.isim}%.lider}%"
                loop {takim.%{takim.%player%.isim}%.üyeler::*}:
                    send "&b%loop-value%"
        arg 1 is "liste2":
            {acik.%player%} is true
            send "&7[&aTakım&7] &cTakımlar"
            send ""
            loop {Takımlar::*}:
                send "&b%loop-value%"
        arg 1 is "npc":
            player is op:
                spawn villager at player
                set spawned villager's display name to "&7[&aTakım NPC&7]"
                apply slowness 99999 to spawned villager for 999 days
                clear {Takımlar::*}
        arg 1 is "ayril":
            {takim.%player%.takimda} is true:
                send "&7[&aTakım&7] &bTakımdan Ayrıldın !"
                remove player from {takim.%{takim.%player%.isim}%.üyeler::*}
                set {takim.%player%.takimda} to false
                delete {takim.%player%.isim}
                execute console command "manudelv %player% prefix"
                loop {takim.%{takim.%player%.isim}%.üyeler::*}:
                    send "&7[&aTakım&7] &c%player% &badlı oyuncu takımdan ayrıldı." to loop-value
                wait 1 second
            else:
                send "&7[&aTakım&7] &cHenüz Bir Takımın Yok !"
        arg 1 is "ayarlar":
            {takim.%player%.isim} is set:
                {sohbet.%player%} isn't set:
                    set {sohbet.%player%} to false
                {sohbet.%player%} is false:
                    set {sohbet.%player%} to true
                    send "&7[&aTakım&7] &bArtık Yazdıkların Sadece Takımına Gidicek !"
                else:
                    set {sohbet.%player%} to false
                    send "&7[&aTakım&7] &bArtık Yazdıkların Herkese Gidicek !"
            else:
                send "&7[&aTakım&7] &cHenüz Bir Takımın Yok !"
        arg 1 isn't set:
            send ""
            send "&7[&aTakım&7] &e/takim katil"
            send ""
           
on damage:
    victim is a player
    attacker is a player
    {takim.%victim%.isim} is {takim.%attacker%.isim}
    cancel event      
on chat:
    {sohbet.%player%} is true:
        cancel event
        loop {takim.%{takim.%player%.isim}%.üyeler::*}:
            send "&7[&6%player%&7] &f%message%" to loop-value
            send "&7[&6%player%&7] &f%message%" to player
        wait 1 second
    {takim.kuruyor.%player%} is true:
        cancel event
        set {takim.kuruyor.%player%} to false
        set {_isim} to message
        if {Takımlar::*} contains {_isim}:
            send "&7[&aTakım&7] &cAynı Isimde Takım Var Zaten !"
        else:
            execute console command "eco take %player% {@para}"
            set {takim.%player%.isim} to {_isim}
            set {takim.%{takim.%player%.isim}%.lider} to player
            set {takim.%player%.kurmus} to true
            send "&7[&aTakım&7] &bBaşarıyla &c%{_isim}% &badlı takımı kurdun !"
            add {takim.%player%.isim} to {Takımlar::*}
            execute console command "manuaddv %player% prefix &7[&6%{takim.%player%.isim}%&7]&f"
    {takim.cikartiyor.%player%} is true:
        cancel event
        set {takim.cikartiyor.%player%} to false
        set {_cikartilan} to message
        loop {takim.%{takim.%player%.isim}%.üyeler::*}:
            if "%loop-value%" is "%{_cikartilan}%":
                wait 1 second
                remove loop-value from {takim.%{takim.%player%.isim}%.üyeler::*}
                delete {takim.%loop-value%.isim}
                delete {takim.%loop-value%.takimda}
                send "&7[&aTakım&7] &bBaşarıyla &c%loop-value% &badlı oyuncuyu çıkardın !"
                send "&7[&aTakım&7] &bTakımdan Atıldın !" to loop-value
                execute console command "manudelv %loop-value% prefix"
                stop
            else:
                send "&7[&aTakım&7] &cOyuncu Takımınızda Değil !"
    {takim.davetliyor.%player%} is true:
        cancel event
        set {takim.davetliyor.%player%} to false
        set {_davetli} to message
        {takim.%{_davetli}%.isim} is set:
            send "&7[&aTakım&7] &cBu Oyuncu Zaten Bir Takımda !"
            stop
        else:
            loop players:
                "%loop-player%" is "%{_davetli}%"
                set {davet.%loop-player%.gönder} to true
                send "&7[&aTakım&7] &bBaşarıyla &c%{_davetli}% &badlı oyuncuyu takıma davet ettin !"
                send "&7[&aTakım&7] &c%{takim.%player%.isim}% &badlı takıma davet edildin. &e/takim katil &byazarak girebilirsin. 15 Saniye !" to loop-player
                set {davet.%loop-player%.isim} to {takim.%player%.isim}
                wait 15 second
                set {davet.%loop-player%.gönder} to false



Edit:

Birde şu Var
1L1MLb.png

Kod:
command /baliktut:
    trigger:
        execute player command "/me oltasini göle sallar."
        execute console command "/effect %player% 2 10 20"
        apply jump -100 to player for 10 seconds
        wait 10 seconds
        chance of 40%:
            give a raw fish to player
            send "&2[&a!&2] &aTebrikler bir balık yakaladiniz."
            send "&6Balik satmak için sağ tıklayın."
        chance of 90%:
            give a dead bush named "&cCöp" to player
            send "&4[&c!&4] &cÇöp geldi"
        execute player command "/me oltasini çeker."
on command "/baliktut":
        wait 1 ticks
        set {balik.%player%} to true
        wait 10 seconds
        set {balik.%player%} to false     
on command "/baliktut":
        {balik.%player%} is true
        cancel event
        send "&c10 saniye bekleyin." to player
--------------------------------------------------------------
command /balikpisir:
    trigger:
        if player has 2 raw fish in his inventory:
            remove 2 raw fish from player
            send "&2[&a!&2] &aBalik pisiyor."
            wait 3 seconds
            give 2 cooked fish to player
            send "&2[&a!&2] &aBaliklar pisti."
        else:
            send "&4[&c!&4] &cBalik pisirmek için 2 balik olmasi gerek."
 
SkQuery eklentisini sunucunuza ekleyiniz. Sonrasında hala çıkan ataları lütfen buraya atınız
 
Sunucuda SkQuery Eklentisi Mevcut
Attığınız 2 skriptede bende bir hata görünmedi. Sadece 1 kısım vardı commant tagı eklemeyi unutmuşsunuz hata veriyordu onuda düzelttim.

Kod:
command /baliktut:
    trigger:
        execute player command "/me oltasini göle sallar."
        execute console command "/effect %player% 2 10 20"
        apply jump -100 to player for 10 seconds
        wait 10 seconds
        chance of 40%:
            give a raw fish to player
            send "&2[&a!&2] &aTebrikler bir balık yakaladiniz."
            send "&6Balik satmak için sağ tıklayın."
        chance of 90%:
            give a dead bush named "&cCöp" to player
            send "&4[&c!&4] &cÇöp geldi"
        execute player command "/me oltasini çeker."
on command "/baliktut":
        wait 1 ticks
        set {balik.%player%} to true
        wait 10 seconds
        set {balik.%player%} to false     
on command "/baliktut":
        {balik.%player%} is true
        cancel event
        send "&c10 saniye bekleyin." to player
#--------------------------------------------------------------
command /balikpisir:
    trigger:
        if player has 2 raw fish in his inventory:
            remove 2 raw fish from player
            send "&2[&a!&2] &aBalik pisiyor."
            wait 3 seconds
            give 2 cooked fish to player
            send "&2[&a!&2] &aBaliklar pisti."
        else:
            send "&4[&c!&4] &cBalik pisirmek için 2 balik olmasi gerek."

Size sunucumdaki skript ile alakalı eklentilerimi bir yerde toplayıp veriyorum. Yükleyip yine bir bakınız hata vericekmi.
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
NOT: Ayrıca sorununuz çözüldümü ? konu başlığında çüzlü olarak duruyor.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

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