Skript plugin

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Deleted User 63724

Yaratık Tuzağı: Çalışıyor
Katılım
9 Nisan 2017
Mesajlar
720
Elmaslar
332
Puan
14.730
bir sript yazdım fakat hata veriyor bunun için bir skript plugini olduğundan eminim örneğin Skmorkaz gibi mesela
skriptim
Kod:
veriables:
    {coin.%player%} = 0

options:
    p: &8[&cSunucu&8] &7

command /coin [<text>] [<text>] [<text>]:
    trigger:
        if arg 1 is set:
            if arg 1 is "gönder":
                if arg 2 is set:
                    if arg 3 is set:
                        if {coin.%player%} is greater than %arg 3%:
                            add %arg 3% to {coin.%arg 2%}
                            remove %arg 3% from {coin.%player%}
                            send "{@p} %arg 2% adlı kişiye %arg 3% coin gönder."
                            execute console command "msg %arg 2% &4%player% &7sana &a%arg 3% &7coin gönderdi."
                        else:
                            send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                            send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: %arg 3%"
                    else:
                        send "{@p} Kullanım: /coin gönder isim miktar"
                else:
                    send "{@p} Kullanım: /coin gönder isim miktar"
            if arg 1 is "market":
                send "{@p} Coin Market açılıyor."
            if arg 1 is "ver":
                if player has the permission "sk.admin":
                    if arg 2 is set:
                        if arg 3 is set:
                            add %arg 3% to {coin.%arg 2%}
                            send "{@p} %arg 2% adlı kişiye %arg 3% coin verdin."
                            execute console command "msg %arg 2% &4&l%player% &7sana bedavadan &a%arg 3% &7coin verdi."
                        else:
                            send "{@p} Kullanım: /coin ver isim miktar"
                    else:
                        send "{@p} Kıllanım: /coin ver isim miktar"
                else:
                    send "{@p} Bunu Yapamazsın"

command /spawneral [<text>]:
    trigger:
        if arg 1 is set:
            if arg 1 is "pig":
                if {coin.%player%} is greater than 10:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 10"
            if arg 1 is "sheep":
                if {coin.%player%} is greater than 15:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 15"
            if arg 1 is "cow":
                if {coin.%player%} is greater than 20:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 20"
            if arg 1 is "zombie":
                if {coin.%player%} is greater than 30:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 30"
            if arg 1 is "skeleton":
                if {coin.%player%} is greater than 40:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 40"
            if arg 1 is "blaze":
                if {coin.%player%} is greater than 50:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 50"
            if arg 1 is "golem":
                if {coin.%player%} is greater than 64:
                    execute console command "ss give %player% ig"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 64"
 
Hocam herhangi bir addon gerektirmez sadece variable kullanmışsınız
 
Hata nin resmini atacak kadar dusunebiliyorsun demi.
 
Daha Türkçe bilmeyenler skript yazınca böyle oluyor işte. Bu attığımı dene.

Kod:
variables:
    {coin.%player%} = 0

options:
    p: &8[&cSunucu&8] &7

command /coin [<text>] [<player>] [<int>]:
    trigger:
        if arg 2 is set:
            if arg 1 is "gönder":
                if arg 3 is set:
                    if {coin.%player%} is bigger than or equal to arg-3:
                        add arg 3 to {coin.%arg 2%}
                        remove arg 3 from {coin.%player%}
                        send "{@p} %arg 2% adlı kişiye %arg 3% coin gönderdin."
                        send "&4%player% &7sana &a%arg 3% &7coin gönderdi." to arg-2
                    else:
                        send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                        send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: %arg 3%"
                else:
                    send "{@p} Kullanım: /coin gönder isim miktar"
            if arg 1 is "market":
                send "{@p} Coin Market açılıyor."
            if arg 1 is "ver":
                if player has the permission "sk.admin":
                    if arg 3 is set:
                        add arg 3 to {coin.%arg 2%}
                        send "{@p} %arg 2% adlı kişiye %arg 3% coin verdin."
                        send "&4&l%player% &7sana bedavadan &a%arg 3% &7coin verdi." to arg-2
                    else:
                        send "{@p} Kullanım: /coin ver isim miktar"
                else:
                    send "{@p} Bunu Yapamazsın"

command /spawneral [<text>]:
    trigger:
        if arg 1 is set:
            if arg 1 is "pig":
                if {coin.%player%} is bigger than or equal to 10:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 10"
            if arg 1 is "sheep":
                if {coin.%player%} is bigger than or equal to 15:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 15"
            if arg 1 is "cow":
                if {coin.%player%} is bigger than or equal to 20:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 20"
            if arg 1 is "zombie":
                if {coin.%player%} is bigger than or equal to 30:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 30"
            if arg 1 is "skeleton":
                if {coin.%player%} is bigger than or equal to 40:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 40"
            if arg 1 is "blaze":
                if {coin.%player%} is bigger than or equal to 50:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 50"
            if arg 1 is "golem":
                if {coin.%player%} is bigger than or equal to 64:
                    execute console command "ss give %player% ig"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 64"
 
Sorununuz Çözüldüyse Lütfen Belirtin.
Daha Türkçe bilmeyenler skript yazınca böyle oluyor işte. Bu attığımı dene.

Kod:
variables:
    {coin.%player%} = 0

options:
    p: &8[&cSunucu&8] &7

command /coin [<text>] [<player>] [<int>]:
    trigger:
        if arg 2 is set:
            if arg 1 is "gönder":
                if arg 3 is set:
                    if {coin.%player%} is bigger than or equal to arg-3:
                        add arg 3 to {coin.%arg 2%}
                        remove arg 3 from {coin.%player%}
                        send "{@p} %arg 2% adlı kişiye %arg 3% coin gönderdin."
                        send "&4%player% &7sana &a%arg 3% &7coin gönderdi." to arg-2
                    else:
                        send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                        send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: %arg 3%"
                else:
                    send "{@p} Kullanım: /coin gönder isim miktar"
            if arg 1 is "market":
                send "{@p} Coin Market açılıyor."
            if arg 1 is "ver":
                if player has the permission "sk.admin":
                    if arg 3 is set:
                        add arg 3 to {coin.%arg 2%}
                        send "{@p} %arg 2% adlı kişiye %arg 3% coin verdin."
                        send "&4&l%player% &7sana bedavadan &a%arg 3% &7coin verdi." to arg-2
                    else:
                        send "{@p} Kullanım: /coin ver isim miktar"
                else:
                    send "{@p} Bunu Yapamazsın"

command /spawneral [<text>]:
    trigger:
        if arg 1 is set:
            if arg 1 is "pig":
                if {coin.%player%} is bigger than or equal to 10:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 10"
            if arg 1 is "sheep":
                if {coin.%player%} is bigger than or equal to 15:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 15"
            if arg 1 is "cow":
                if {coin.%player%} is bigger than or equal to 20:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 20"
            if arg 1 is "zombie":
                if {coin.%player%} is bigger than or equal to 30:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 30"
            if arg 1 is "skeleton":
                if {coin.%player%} is bigger than or equal to 40:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 40"
            if arg 1 is "blaze":
                if {coin.%player%} is bigger than or equal to 50:
                    execute console command "ss give %player% %arg 1%"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 50"
            if arg 1 is "golem":
                if {coin.%player%} is bigger than or equal to 64:
                    execute console command "ss give %player% ig"
                else:
                    send "{@p} Bunu yapamazsın. Coinin yetmiyor"
                    send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 64"

Skript Hata Vermeden Çalışmakta​
 
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