Çözüldü no loop matches?

maturker5050

Odunlara Vur Vur Vur!
Katılım
15 Mart 2021
Mesajlar
41
Elmaslar
5
Puan
900
Yaş
24
Kod:
on place of stone:
   while name of event-block is "&4Otomatik &6Kemiktozu":
      loop blocks in radius 10 of event-location:
         if loop-block is crops:6:
            set loop-block to crops:7
            wait 10 seconds
         if loop-block is crops:5:
            set loop-block to crops:6
            wait 10 seconds
         if loop-block is crops:4:
            set loop-block to crops:5
            wait 10 seconds
         if loop-block is crops:3:
            set loop-block to crops:4
            wait 10 seconds
         if loop-block is crops:2:
            set loop-block to crops:3
            wait 10 seconds
         if loop-block is crops:1:
            set loop-block to crops:2
            wait 10 seconds
         if loop-block is crops:0:
            set loop-block to crops:1
            wait 10 seconds


Kod:
> [13:28:11] [Server thread/INFO]: [Skript] Reloading Meslekler.sk...
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:6' (Meslekler.sk, line 7: if loop-block is crops:6:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:5' (Meslekler.sk, line 10: if loop-block is crops:5:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:4' (Meslekler.sk, line 13: if loop-block is crops:4:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:3' (Meslekler.sk, line 16: if loop-block is crops:3:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:2' (Meslekler.sk, line 19: if loop-block is crops:2:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:1' (Meslekler.sk, line 22: if loop-block is crops:1:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:0' (Meslekler.sk, line 25: if loop-block is crops:0:')
> [13:28:11] [Server thread/INFO]: [Skript] Encountered 7 errors while reloading Meslekler.sk!

otomatik olarak ekinleri büyütecek bi skript yazdım ancak there's no loop that matches diye hata veriyor nasıl düzeltebilirim?
 
Kod:
on place of stone:
   while name of event-block is "&4Otomatik &6Kemiktozu":
      loop blocks in radius 10 of event-location:
         if loop-block is crops:6:
            set loop-block to crops:7
            wait 10 seconds
         if loop-block is crops:5:
            set loop-block to crops:6
            wait 10 seconds
         if loop-block is crops:4:
            set loop-block to crops:5
            wait 10 seconds
         if loop-block is crops:3:
            set loop-block to crops:4
            wait 10 seconds
         if loop-block is crops:2:
            set loop-block to crops:3
            wait 10 seconds
         if loop-block is crops:1:
            set loop-block to crops:2
            wait 10 seconds
         if loop-block is crops:0:
            set loop-block to crops:1
            wait 10 seconds


Kod:
> [13:28:11] [Server thread/INFO]: [Skript] Reloading Meslekler.sk...
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:6' (Meslekler.sk, line 7: if loop-block is crops:6:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:5' (Meslekler.sk, line 10: if loop-block is crops:5:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:4' (Meslekler.sk, line 13: if loop-block is crops:4:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:3' (Meslekler.sk, line 16: if loop-block is crops:3:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:2' (Meslekler.sk, line 19: if loop-block is crops:2:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:1' (Meslekler.sk, line 22: if loop-block is crops:1:')
> [13:28:11] [Server thread/ERROR]: There's no loop that matches 'loop-block is crops:0' (Meslekler.sk, line 25: if loop-block is crops:0:')
> [13:28:11] [Server thread/INFO]: [Skript] Encountered 7 errors while reloading Meslekler.sk!

otomatik olarak ekinleri büyütecek bi skript yazdım ancak there's no loop that matches diye hata veriyor nasıl düzeltebilirim?
loop all blocks in radius 10 around the event-block: dene.
 
Kod:
on place of stone:

   while name of event-block is "&4Otomatik &6Kemiktozu":

      loop blocks in radius 10 of event-block:

         if loop-block is carrot_plant:

            if the data value of the event-loop is not 7:

                set {_block} to loop-block
                set data value of {_block} to data value of {_block} + 1
                set loop-block to {_block}
                
        wait 10 seconds
bu mantık üzerinden gidebilirsin
 
Son düzenleme:
Kod:
on place of stone:

   while name of event-block is "&4Otomatik &6Kemiktozu":

      loop blocks in radius 10 of event-block:

         if loop-block is carrot_plant:

            if the data value of the event-loop is not 7:

                set {_block} to loop-block
                set data value of {_block} to data value of {_block} + 1
                set loop-block to {_block}
               
        wait 10 seconds
bu mantık üzerinden gidebilirsin
Pekala sabah deniycem
 

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