Sol Reklam
Sağ Reklam

Çözüldü Aşağıda Verdiğim Skript Çalışmıyor Neden ?

Durum
Mesaj gönderimine kapalı.

ygtaltns

Odunlara Vur Vur Vur!

Discord:

Jarnsida

Katılım
27 Haziran 2019
Mesajlar
34
Elmaslar
8
Puanlar
0
Yaş
24
Minecraft
Ejdzey
Merhaba arkadaşlar skript çalışmıyor lütfen nerede hata var /otosat lapis /otosat demir vb. çalışmıyor yardım edin lütfen
Kod:
options:
    p: &3Factions &8»
    
variables:
    {lapis::%player%} = 640
    {iron::%player%} = 640
    {gold::%player%} = 640
    {diamond::%player%} = 640
    {emerald::%player%} = 640
    {om::%player%} = 640

command /otosat [<text>]:
    trigger:
        if arg 1 is "lapis":
            if {lapis::%player%} is 0:
                set {lapis::%player%} to 1
                send "{@p} &aOtomatik lapis satışı aktif edildi." to player
                stop
            if {lapis::%player%} is 1:
                set {lapis::%player%} to 0
                send "{@p} &cOtomatik lapis satışı devre dışı bırakıldı." to player
                stop
        if arg 1 is "zümrüt":
            if player has permission "vip.satis":
                if {emerald::%player%} is 0:
                    set {emerald::%player%} to 1
                    send "{@p} &aOtomatik zümrüt satışı aktif edildi." to player
                    stop
                if {emerald::%player%} is 1:
                    set {emerald::%player%} to 0
                    send "{@p} &cOtomatik zümrüt satışı devre dışı bırakıldı." to player
                    stop
            else:
                send "{@p} &eBu özelliği kullanabilmek için &aVIP &eolman gerek." to player
        if arg 1 is "demir":
            if player has permission "vip.satis":
                if {iron::%player%} is 0:
                    set {iron::%player%} to 1
                    send "{@p} &aOtomatik demir satışı aktif edildi." to player
                    stop
                if {iron::%player%} is 1:
                    set {iron::%player%} to 0
                    send "{@p} &cOtomatik demir satışı devre dışı bırakıldı." to player
                    stop
            else:
                send "{@p} &eBu özelliği kullanabilmek için &aVIP &eolman gerek." to player                   
        if arg 1 is "altın":
            if player has permission "vip.satis":
                if {gold::%player%} is 0:
                    set {gold::%player%} to 1
                    send "{@p} &aOtomatik altın satışı aktif edildi." to player
                    stop
                if {gold::%player%} is 1:
                    set {gold::%player%} to 0
                    send "{@p} &cOtomatik altın satışı devre dışı bırakıldı." to player
                    stop
            else:
                send "{@p} &eBu özelliği kullanabilmek için &aVIP &eolman gerek." to player                   
        if arg 1 is "elmas":
            if player has permission "vip.satis":
                if {iron::%player%} is 0:
                    set {iron::%player%} to 1
                    send "{@p} &aOtomatik elmas satışı aktif edildi." to player
                    stop
                if {iron::%player%} is 1:
                    set {iron::%player%} to 0
                    send "{@p} &cOtomatik elmas satışı devre dışı bırakıldı." to player
                    stop
            else:
                send "{@p} &eBu özelliği kullanabilmek için &aVIP &eolman gerek." to player       
        if arg 1 is "mesaj":
            if {om::%player%} is 1:
                set {om::%player%} to 0
                send "{@p} &eArtık otomatik satış mesajlarını alacaksın." to player
            else:
                set {om::%player%} to 1
                send "{@p} &eArtık otomatik satış mesajlarını almayacaksın." to player
    
#Lapis   
on break of lapis ore:
    if player has 640 of lapis lazuli:
        if {lapis::%player%} is 1:
            remove 640 lapis lazuli from player
            execute console command "/eco give %player% 8000"
            if {om::%player%} is 0:
                send "{@p} &7640 adet lapis satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
#Zümrüt
on break of emerald ore:
    if player has 64 emerald:
        if {emerald::%player%} is 1:
            remove 64 emerald from player
            execute console command "/eco give %player% 28800"
            if {om::%player%} is 0:
                send "{@p} &7640 adet zümrüt satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
on break of emerald block:
    if player has 64 emerald block:
        if {emerald::%player%} is 1:
            remove 64 emerald block from player
            execute console command "/eco give %player% 259200"
            if {om::%player%} is 0:
                send "{@p} &764 adet zümrüt blok satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
#Demir           
on break of iron ore:
    if player has 64 iron ore:
        if {iron::%player%} is 1:
            remove 64 iron ore from player
            execute console command "/eco give %player% 9600"
            if {om::%player%} is 0:
                send "{@p} &764 adet demir satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
on break of iron block:
    if player has 64 iron block:
        if {iron::%player%} is 1:
            remove 64 iron ore from player
            execute console command "/eco give %player% 96000"
            if {om::%player%} is 0:
                send "{@p} &764 adet demir blok satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
#Altın           
on break of gold ore:
    if player has 64 gold ore:
        if {gold::%player%} is 1:
            remove 64 gold ore from player
            execute console command "/eco give %player% 16000"
            if {om::%player%} is 0:
                send "{@p} &764 adet altın satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
on break of gold block:
    if player has 64 gold block:
        if {gold::%player%} is 1:
            remove 64 gold block from player
            execute console command "/eco give %player% 144000"
            if {om::%player%} is 0:
                send "{@p} &764 adet altın blok satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
#Elmas
on break of diamond ore:
    if player has 64 diamond:
        if {diamond::%player%} is 1:
            remove 64 diamond from player
            execute console command "/eco give %player% 22400"
            if {om::%player%} is 0:
                send "{@p} &764 adet elmas satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
on break of diamond block:
    if player has 64 diamond block:
        if {diamond::%player%} is 1:
            remove 64 diamond block from player
            execute console command "/eco give %player% 201600"
            if {om::%player%} is 0:
                send "{@p} &764 adet elmas blok satıldı." to player
            else:
                play raw sound "random.orb" at player with pitch 1 volume 10
                
on break of 49:
    add 1 to {yos.kirma.%player%}
    if {yos.kirma.%player%} is greater or equal to 200:
        add 1 to {kredi.%player%}
        send "&3YosunluTaş &8» &a1 &ekredi kazandın. harcamak için; &a/kredimarket" to player
        delete {yos.kirma.%player%}
command /kredim:
    trigger:
        send "&3YosunluTaş &8» &etoplam &c%{kredi.%player%}% &ekredin var. harcamak için; &a/kredimarket" to player
command /bak:
    trigger:
        send "&3YosunluTaş &8» &eşuana kadar &a%{yos.kirma.%player%}% &eYosunlu taş kırdın. harcamak için; &a/kredimarket" to player
command /kredimarket:
    trigger:
        wait 3 tick
        open chest with 3 rows named "&eKredi Market" to player
        wait 1 tick
        format slot 0 of player with paper named "&e1. Paket" with lore "&c20 &eKredi karşılığında &8» &a100k" to close then run [execute player command "/20k"]
        format slot 1 of player with paper named "&e2. Paket" with lore "&c30 &eKredi karşılığında &8» &a150k" to close then run [execute player command "/30k"]
        format slot 2 of player with paper named "&e3. Paket" with lore "&c40 &eKredi karşılığında &8» &a200k" to close then run [execute player command "/40k"]
        format slot 3 of player with paper named "&e4. Paket" with lore "&c50 &eKredi karşılığında &8» &a250k" to close then run [execute player command "/50k"]
        format slot 4 of player with paper named "&e5. Paket" with lore "&c60 &eKredi karşılığında &8» &a300k" to close then run [execute player command "/60k"]
        format slot 5 of player with paper named "&e6. Paket" with lore "&c70 &eKredi karşılığında &8» &a350k" to close then run [execute player command "/70k"]
        format slot 6 of player with paper named "&e7. Paket" with lore "&c80 &eKredi karşılığında &8» &a400k" to close then run [execute player command "/80k"]
        format slot 7 of player with paper named "&e8. Paket" with lore "&c90 &eKredi karşılığında &8» &a450k" to close then run [execute player command "/90k"]
        format slot 8 of player with paper named "&e9. Paket" with lore "&c100 &eKredi karşılığında &8» &a500k" to close then run [execute player command "/100k"]
        format slot 20 of player with 278 named "&aKaç YosunluTaş kırdım?" with lore "&eşuana kadar &a%{yos.kirma.%player%}% &eYosunlu taş kırdın" to close then run [execute player command "bak"]
        format slot 22 of player with 340 named "&aKaç kredim var?" with lore "&etoplam &c%{kredi.%player%}% &ekredin var" to close then run [execute player command "kredim"]
        format slot 26 of player with 345 named "&cMenüyü kapat" to close
        stop

command /20k:
    trigger:
        if {kredi.%player%} is greater or equal to 20:
            execute console command  "eco give %player% 100000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!"
command /30k:
    trigger:
        if {kredi.%player%} is greater or equal to 30:
            execute console command  "eco give %player% 150000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!" to player
command /40k:
    trigger:
        if {kredi.%player%} is greater or equal to 40:
            execute console command  "eco give %player% 200000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!" to player
command /50k:
    trigger:
        if {kredi.%player%} is greater or equal to 50:
            execute console command  "eco give %player% 250000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!" to player
command /60k:
    trigger:
        if {kredi.%player%} is greater or equal to 60:
            execute console command  "eco give %player% 300000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!" to player
command /70k:
    trigger:
        if {kredi.%player%} is greater or equal to 70:
            execute console command  "eco give %player% 350000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!" to player
command /80k:
    trigger:
        if {kredi.%player%} is greater or equal to 80:
            execute console command  "eco give %player% 400000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!" to player
command /90k:
    trigger:
        if {kredi.%player%} is greater or equal to 90:
            execute console command  "eco give %player% 450000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!" to player
command /100k:
    trigger:
        if {kredi.%player%} is greater or equal to 100:
            execute console command  "eco give %player% 500000"
        else:
            send "&3YosunluTaş &8» &cKredin Yetersiz!" to player
 
S

sooply

Ziyaretçi
Hata veriyor mu? Komutu çalıştırdığında konsolda bir şey yazıyor mu?
 

FoucTY

PLAY.ARCHENETWORK.COM

Discord:

FoucTY#5830

Katılım
17 Şubat 2019
Mesajlar
24
Elmaslar
9
Puanlar
0
Yaş
19
Yer
Konya
Minecraft
FoucTY
Consoleye hatayı gönderiyor mu ?
 

ygtaltns

Odunlara Vur Vur Vur!

Discord:

Jarnsida

Katılım
27 Haziran 2019
Mesajlar
34
Elmaslar
8
Puanlar
0
Yaş
24
Minecraft
Ejdzey
Consoleye hatayı gönderiyor mu ?
80287

Hayır Hata Göremedim
 

Nikto

.
Katılım
8 Kasım 2014
Mesajlar
3.051
Elmaslar
1.099
Puanlar
0
/sk reload <skript ismi> çektiğinizde herhangi bir error veriyormu?
 

ygtaltns

Odunlara Vur Vur Vur!

Discord:

Jarnsida

Katılım
27 Haziran 2019
Mesajlar
34
Elmaslar
8
Puanlar
0
Yaş
24
Minecraft
Ejdzey

Nikto

.
Katılım
8 Kasım 2014
Mesajlar
3.051
Elmaslar
1.099
Puanlar
0

ygtaltns

Odunlara Vur Vur Vur!

Discord:

Jarnsida

Katılım
27 Haziran 2019
Mesajlar
34
Elmaslar
8
Puanlar
0
Yaş
24
Minecraft
Ejdzey

Ekler

  • 1.png
    1.png
    95 KB · Görünt.: 222
  • 2.png
    2.png
    95,6 KB · Görünt.: 246
  • 3.png
    3.png
    97,1 KB · Görünt.: 177

Cylex

Emekçi

Discord:

Cylex#3769

Katılım
12 Mayıs 2018
Mesajlar
296
Elmaslar
106
Puanlar
4.275
Skript ile ilgili pluginlerinizin güncel olduğuna veya çalıştığına emin misiniz?Ayrıca eşyaların sayısal idleri yerine isimlerini yazmanız hata sayısını azaltır.
 

ygtaltns

Odunlara Vur Vur Vur!

Discord:

Jarnsida

Katılım
27 Haziran 2019
Mesajlar
34
Elmaslar
8
Puanlar
0
Yaş
24
Minecraft
Ejdzey
Skript ile ilgili pluginlerinizin güncel olduğuna veya çalıştığına emin misiniz?Ayrıca eşyaların sayısal idleri yerine isimlerini yazmanız hata sayısını azaltır.
Skript için güncellemem gereken pluginleri söylermisiniz ?
 

Cylex

Emekçi

Discord:

Cylex#3769

Katılım
12 Mayıs 2018
Mesajlar
296
Elmaslar
106
Puanlar
4.275
Hangilerine tam olarak ihtiyacınız olduğunu bilmiyorum fakat Skript,skRayFall,Skellet,WildSkript,TusKe eklentilerinden hangileri varsa güncel olup olmadığını kontrol edin consoleda bul kısmından aratın.Eğer yoksa indirin.Ayrıca variable kısmına gerek olduğunu düşünmüyorum ve gui kısmında execute player command "bak" ve "kredim" kısmını "/bak" ve "/kredim" olarak değiştirmeyi deneyin.
 

IMasiveHD2

"Gücünden şüphe edersen şüphene güç verirsin"

Discord:

String name = "GizliBaskan";#3269

Katılım
1 Temmuz 2017
Mesajlar
441
Elmaslar
70
Puanlar
9.310
Yer
Konya/Selçuklu
Minecraft
GizliBaskan
script addonların yetersiz
wild script
tuske falan filan
kur onları dene
 

ygtaltns

Odunlara Vur Vur Vur!

Discord:

Jarnsida

Katılım
27 Haziran 2019
Mesajlar
34
Elmaslar
8
Puanlar
0
Yaş
24
Minecraft
Ejdzey

vicdum

Fırında Isıttığım İlk Taş

Discord:

vicdum#0654

Katılım
12 Temmuz 2014
Mesajlar
75
Elmaslar
44
Puanlar
13.625
Minecraft
vicdum
Hataların çoğunluğu gui yüzünden çıkıyor, gui oluşturmak için SkQuery yerine Tuske kullan.
 
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı