Sol Reklam

Çözüldü no loop matches?

maturker5050

Odunlara Vur Vur Vur!
Katılım
15 Mart 2021
Mesajlar
41
Elmaslar
5
Puanlar
900
Yaş
22
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?
 

metehan12321

Bir Kömür Göründü Kaptanım!
Katılım
22 Ağustos 2015
Mesajlar
150
Elmaslar
41
Puanlar
13.625
Yaş
23
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.
 

maturker5050

Odunlara Vur Vur Vur!
Katılım
15 Mart 2021
Mesajlar
41
Elmaslar
5
Puanlar
900
Yaş
22

faberds

Odunlara Vur Vur Vur!

Discord:

Furkan Faberds#0622

Katılım
30 Temmuz 2017
Mesajlar
27
Elmaslar
9
Puanlar
13.265
Yaş
22
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:

maturker5050

Odunlara Vur Vur Vur!
Katılım
15 Mart 2021
Mesajlar
41
Elmaslar
5
Puanlar
900
Yaş
22
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
 
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı