Yardım metin taşı skriptim çalışmıyor! YARDIM

xcazzeri28

Kömür Madencisi
Mesajlar
110
En iyi cevaplar
1
Beğeniler
9
Puanları
220
Ruh hali
Kod:
options:
    Prefix: &aNE&eKA&52 &8>&7

command /uzuntumetiniayarla:
    trigger:
        if player has permission "taş.admin":
            if targeted block is stone:
                if {uzuntumetini::%location of targeted block%} is not set:
                    set {_loc} to location of targeted block
                    set {uzuntumetini::%{_loc}%} to {_loc}
                    send "{@Prefix} Önünüzdeki taş artık metintaşı, metintaşının özelliğini kaldırmak için /uzuntumetiniayarla yazabilirsin." to player
                    stop
                else if {uzuntumetini::%location of targeted block%} is set:
                    clear {uzuntumetini::%location of targeted block%}
                    send "{@Prefix} Önünüzdeki taş artık metintaşı değil, tekrar metintaşı yapmak için /uzuntumetiniayarla yazabilirsin." to player
            else:
                send "{@Prefix} Bunu kullanabilmek için bir taşa bakman gerek!" to player
        else:
            send "{@Prefix} Bunun için iznin yok" to player

on break of stone:
    if {uzuntumetini::%location of event-block%} is set:
        if {uzuntumetini::can} is equal to 20:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 19:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 18:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 17:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 16:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 15:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 3 zombie at event-block
            wait 2 second
            spawn 3 skeleton at event-block
            wait 2 second
            spawn 3 spider at event-block
            stop
        else if {uzuntumetini::can} is equal to 14:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 13:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 12:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 11:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 10:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 3 zombie at event-block
            wait 2 second
            spawn 3 skeleton at event-block
            wait 2 second
            spawn 3 spider at event-block
            stop
        else if {uzuntumetini::can} is equal to 9:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 8:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 7:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 6:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 5:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 5 zombie at event-block
            wait 2 second
            spawn 3 skeleton at event-block
            wait 2 second
            spawn 3 spider at event-block
            stop
        else if {uzuntumetini::can} is equal to 4:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 8 zombie at event-block
            wait 3 second
            spawn 4 skeleton at event-block
            wait 2 second
            spawn 2 spider at event-block
            stop
        else if {uzuntumetini::can} is equal to 3:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 10 zombie at player's location
            wait 4 second
            spawn 5 skeleton at player's location
            wait 3 second
            spawn 3 spider at player's location
            stop
        else if {uzuntumetini::can} is equal to 2:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 8 zombie at player's location
            wait 3 second
            spawn 7 zombie at player's location
            wait 3 second
            spawn 8 skeleton at player's location
            wait 3 second
            spawn 5 spider at player's location
            stop
        else if {uzuntumetini::can} is equal to 1:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 8 zombie at player's location
            wait 5 second
            spawn 8 zombie at player's location
            wait 5 second
            spawn 6 zombie at player's location
            wait 5 second
            spawn 10 skeleton at player's location
            wait 5 second
            spawn 8 spider at player's location
            stop
        else if {uzuntumetini::can} is equal to 0:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            drop 256 diamond block
            set {uzuntumetini::can} to 20
            stop
        set {uzuntumetini::can} to 20

SKRİPT BU TAŞA BAKIP KOMUTU YAZDIĞIMDA ŞU YAZIYOR: "An internal error occurred while attempting to perform this command" yazıyor sk reload "skriptadı" bu skripte reload atıncada hiç hata vermiyor lütfe yardım
 


kadir2015

Kızıltaş Madencisi
Mesajlar
415
En iyi cevaplar
7
Beğeniler
46
Puanları
440
Ruh hali
Kod:
options:
    Prefix: &aNE&eKA&52 &8>&7

command /uzuntumetiniayarla:
    trigger:
        if player has permission "taş.admin":
            if targeted block is stone:
                if {uzuntumetini::%location of targeted block%} is not set:
                    set {_loc} to location of targeted block
                    set {uzuntumetini::%{_loc}%} to {_loc}
                    send "{@Prefix} Önünüzdeki taş artık metintaşı, metintaşının özelliğini kaldırmak için /uzuntumetiniayarla yazabilirsin." to player
                    stop
                else if {uzuntumetini::%location of targeted block%} is set:
                    clear {uzuntumetini::%location of targeted block%}
                    send "{@Prefix} Önünüzdeki taş artık metintaşı değil, tekrar metintaşı yapmak için /uzuntumetiniayarla yazabilirsin." to player
            else:
                send "{@Prefix} Bunu kullanabilmek için bir taşa bakman gerek!" to player
        else:
            send "{@Prefix} Bunun için iznin yok" to player

on break of stone:
    if {uzuntumetini::%location of event-block%} is set:
        if {uzuntumetini::can} is equal to 20:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 19:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 18:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 17:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 16:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 15:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 3 zombie at event-block
            wait 2 second
            spawn 3 skeleton at event-block
            wait 2 second
            spawn 3 spider at event-block
            stop
        else if {uzuntumetini::can} is equal to 14:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 13:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 12:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 11:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 10:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 3 zombie at event-block
            wait 2 second
            spawn 3 skeleton at event-block
            wait 2 second
            spawn 3 spider at event-block
            stop
        else if {uzuntumetini::can} is equal to 9:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 8:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 7:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 6:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            stop
        else if {uzuntumetini::can} is equal to 5:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 5 zombie at event-block
            wait 2 second
            spawn 3 skeleton at event-block
            wait 2 second
            spawn 3 spider at event-block
            stop
        else if {uzuntumetini::can} is equal to 4:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 8 zombie at event-block
            wait 3 second
            spawn 4 skeleton at event-block
            wait 2 second
            spawn 2 spider at event-block
            stop
        else if {uzuntumetini::can} is equal to 3:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 10 zombie at player's location
            wait 4 second
            spawn 5 skeleton at player's location
            wait 3 second
            spawn 3 spider at player's location
            stop
        else if {uzuntumetini::can} is equal to 2:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 8 zombie at player's location
            wait 3 second
            spawn 7 zombie at player's location
            wait 3 second
            spawn 8 skeleton at player's location
            wait 3 second
            spawn 5 spider at player's location
            stop
        else if {uzuntumetini::can} is equal to 1:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            remove 1 from {uzuntumetini::can}
            cancel event
            spawn 8 zombie at player's location
            wait 5 second
            spawn 8 zombie at player's location
            wait 5 second
            spawn 6 zombie at player's location
            wait 5 second
            spawn 10 skeleton at player's location
            wait 5 second
            spawn 8 spider at player's location
            stop
        else if {uzuntumetini::can} is equal to 0:
            send "&f[&a%{uzuntumetini::can}% &7x &c❤&f]" to player
            drop 256 diamond block
            set {uzuntumetini::can} to 20
            stop
        set {uzuntumetini::can} to 20

SKRİPT BU TAŞA BAKIP KOMUTU YAZDIĞIMDA ŞU YAZIYOR: "An internal error occurred while attempting to perform this command" yazıyor sk reload "skriptadı" bu skripte reload atıncada hiç hata vermiyor lütfe yardım
skriptte hata yok skunity gibi eklentiler indir eğer indirilmişse skript sürümünü yenile
 

Üst