Skocz do zawartości
  • 0

pomoc w skrypcie


4RNI1337V2

Pytanie

witam przerobi mi ktos ten skrypt tak aby byly argumenty np /casedrop bieda - wyswietla drop z bieda case i /casedrop premium drop z premium case


command /bieda:
    trigger:
        open chest with 2 rows named "&6&lBIEDA CASE &8- &a&lDROP" to player
        format slot 0 of player with diamond helmet of protection 4 and unbreaking 3 named "&5&lHelm 4/3" with lore "&c1&8x" to close
        format slot 1 of player with diamond chestplate of protection 4 and unbreaking 3 named "&5&lKlata 4/3" with lore "&c1&8x" to close    
        format slot 2 of player with diamond leggings of protection 4 and unbreaking 3 named "&5&lSpodnie 4/3" with lore "&c1&8x" to close    
        format slot 3 of player with diamond boots of protection 4 and unbreaking 3 named "&5&lButy 4/3" with lore "&c1&8x" to close            
        format slot 4 of player with diamond sword of sharpness 4 and fire aspect 2 named "&5&lMiecz 4/2" with lore "&c1&8x" to close        
        format slot 5 of player with diamond pickaxe of efficiency 5 and unbreaking 3 named "&5&lKilof 5/3" with lore "&c1&8x" to close    
        format slot 6 of player with enchanted golden apple named "&5&lKoxy" with lore "&c8&8x" to close
        format slot 7 of player with golden apple named "&5&lRefile" with lore "&c8&8x" to close
        format slot 8 of player with gold ingot named "&5&lZloto" with lore "&c32&8x" to close            
        format slot 9 of player with iron ingot named "&5&lZelazo" with lore "&c32&8x" to close    
        format slot 10 of player with emerald named "&5&lEmeraldy" with lore "&c32&8x" to close
        format slot 11 of player with diamond named "&5&lDiamenty" with lore "&c64&8x" to close
        format slot 12 of player with black glass named " " to close    
        format slot 13 of player with black glass named " " to close    
        format slot 14 of player with black glass named " " to close    
        format slot 15 of player with black glass named " " to close    
        format slot 16 of player with black glass named " " to close
        format slot 17 of player with black glass named " " to close    
        
command /premium:
    trigger:
        open chest with 2 rows named "&6&lPREMIUM CASE &8- &a&lDROP" to player
        format slot 0 of player with diamond helmet of protection 5 and unbreaking 3 named "&5&lHelm 5/3" with lore "&c1&8x" to close
        format slot 1 of player with diamond chestplate of protection 5 and unbreaking 3 named "&5&lKlata 5/3" with lore "&c1&8x" to close    
        format slot 2 of player with diamond leggings of protection 5 and unbreaking 3 named "&5&lSpodnie 5/3" with lore "&c1&8x" to close    
        format slot 3 of player with diamond boots of protection 5 and unbreaking 3 named "&5&lButy 5/3" with lore "&c1&8x" to close            
        format slot 4 of player with diamond sword of sharpness 5 and fire aspect 2 named "&5&lMiecz 5/2" with lore "&c1&8x" to close        
        format slot 5 of player with diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3" with lore "&c1&8x"  to close    
        format slot 6 of player with enchanted golden apple with lore "&c16&8x" named "&5&lKoxy" to close
        format slot 7 of player with golden apple named "&5&lRefile" with lore "&c16&8x" to close
        format slot 8 of player with gold block named "&5&lZloto" with lore "&c16&8x"  to close            
        format slot 9 of player with iron block named "&5&lZelazo" with lore "&c64&8x"  to close    
        format slot 10 of player with emerald block named "&5&lBlok eme" with lore "&c32&8x" to close
        format slot 11 of player with diamond block named "&5&lBlok diaxow" with lore "&c32&8x" to close
        format slot 12 of player with black glass named " " to close    
        format slot 13 of player with black glass named " " to close    
        format slot 14 of player with black glass named " " to close    
        format slot 15 of player with black glass named " " to close    
        format slot 16 of player with black glass named " " to close    
        format slot 17 of player with black glass named " " to close                

Odnośnik do komentarza
https://skript.pl/temat/21366-pomoc-w-skrypcie/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

command /casedrop [<text>]:
    trigger:
        if arg 1 is "bieda":
            wait 2 ticks
            open chest with 2 rows named "&6&lBIEDA CASE &8- &a&lDROP" to player
            wait 2 ticks
            format slot 0 of player with diamond helmet of protection 4 and unbreaking 3 named "&5&lHelm 4/3" with lore "&c1&8x" to close
            format slot 1 of player with diamond chestplate of protection 4 and unbreaking 3 named "&5&lKlata 4/3" with lore "&c1&8x" to close    
            format slot 2 of player with diamond leggings of protection 4 and unbreaking 3 named "&5&lSpodnie 4/3" with lore "&c1&8x" to close    
            format slot 3 of player with diamond boots of protection 4 and unbreaking 3 named "&5&lButy 4/3" with lore "&c1&8x" to close            
            format slot 4 of player with diamond sword of sharpness 4 and fire aspect 2 named "&5&lMiecz 4/2" with lore "&c1&8x" to close        
            format slot 5 of player with diamond pickaxe of efficiency 5 and unbreaking 3 named "&5&lKilof 5/3" with lore "&c1&8x" to close    
            format slot 6 of player with enchanted golden apple named "&5&lKoxy" with lore "&c8&8x" to close
            format slot 7 of player with golden apple named "&5&lRefile" with lore "&c8&8x" to close
            format slot 8 of player with gold ingot named "&5&lZloto" with lore "&c32&8x" to close            
            format slot 9 of player with iron ingot named "&5&lZelazo" with lore "&c32&8x" to close    
            format slot 10 of player with emerald named "&5&lEmeraldy" with lore "&c32&8x" to close
            format slot 11 of player with diamond named "&5&lDiamenty" with lore "&c64&8x" to close
            format slot 12 of player with black glass named " " to close    
            format slot 13 of player with black glass named " " to close    
            format slot 14 of player with black glass named " " to close    
            format slot 15 of player with black glass named " " to close        
            format slot 16 of player with black glass named " " to close
            format slot 17 of player with black glass named " " to close
        if arg 1 is "premium":
            wait 2 ticks
            open chest with 2 rows named "&6&lPREMIUM CASE &8- &a&lDROP" to player
            wait 2 ticks
            format slot 0 of player with diamond helmet of protection 5 and unbreaking 3 named "&5&lHelm 5/3" with lore "&c1&8x" to close
            format slot 1 of player with diamond chestplate of protection 5 and unbreaking 3 named "&5&lKlata 5/3" with lore "&c1&8x" to close    
            format slot 2 of player with diamond leggings of protection 5 and unbreaking 3 named "&5&lSpodnie 5/3" with lore "&c1&8x" to close    
            format slot 3 of player with diamond boots of protection 5 and unbreaking 3 named "&5&lButy 5/3" with lore "&c1&8x" to close            
            format slot 4 of player with diamond sword of sharpness 5 and fire aspect 2 named "&5&lMiecz 5/2" with lore "&c1&8x" to close        
            format slot 5 of player with diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3" with lore "&c1&8x"  to close    
            format slot 6 of player with enchanted golden apple with lore "&c16&8x" named "&5&lKoxy" to close
            format slot 7 of player with golden apple named "&5&lRefile" with lore "&c16&8x" to close
            format slot 8 of player with gold block named "&5&lZloto" with lore "&c16&8x"  to close            
            format slot 9 of player with iron block named "&5&lZelazo" with lore "&c64&8x"  to close    
            format slot 10 of player with emerald block named "&5&lBlok eme" with lore "&c32&8x" to close
            format slot 11 of player with diamond block named "&5&lBlok diaxow" with lore "&c32&8x" to close
            format slot 12 of player with black glass named " " to close    
            format slot 13 of player with black glass named " " to close    
            format slot 14 of player with black glass named " " to close    
            format slot 15 of player with black glass named " " to close    
            format slot 16 of player with black glass named " " to close    
            format slot 17 of player with black glass named " " to close
	

Odnośnik do komentarza
https://skript.pl/temat/21366-pomoc-w-skrypcie/#findComment-145176
Udostępnij na innych stronach

  • 0

wiesz moze czemu przejde do craftingu premium to moge brac itemy?

command /casedrop [<text>]:
    trigger:
        if arg 1 is not set:
            send "&8» &cPoprawne uzycie: &a&l/casedrop <BIEDA/PREMIUM>"
        if arg 1 is "bieda":
            wait 3 ticks
            open chest with 2 rows named "&6&lBIEDA CASE &8- &a&lDROP" to player
            format slot 0 of player with diamond helmet of protection 4 and unbreaking 3 named "&5&lHelm 4/3" with lore "&c1&8x" to be unstealable 
            format slot 1 of player with diamond chestplate of protection 4 and unbreaking 3 named "&5&lKlata 4/3" with lore "&c1&8x" to be unstealable     
            format slot 2 of player with diamond leggings of protection 4 and unbreaking 3 named "&5&lSpodnie 4/3" with lore "&c1&8x" to be unstealable     
            format slot 3 of player with diamond boots of protection 4 and unbreaking 3 named "&5&lButy 4/3" with lore "&c1&8x" to be unstealable             
            format slot 4 of player with diamond sword of sharpness 4 and fire aspect 2 named "&5&lMiecz 4/2" with lore "&c1&8x" to be unstealable         
            format slot 5 of player with diamond pickaxe of efficiency 5 and unbreaking 3 named "&5&lKilof 5/3" with lore "&c1&8x" to be unstealable     
            format slot 6 of player with enchanted golden apple named "&5&lKoxy" with lore "&c8&8x" to be unstealable 
            format slot 7 of player with golden apple named "&5&lRefile" with lore "&c8&8x" to be unstealable 
            format slot 8 of player with gold ingot named "&5&lZloto" with lore "&c32&8x" to be unstealable             
            format slot 9 of player with iron ingot named "&5&lZelazo" with lore "&c32&8x" to be unstealable     
            format slot 10 of player with emerald named "&5&lEmeraldy" with lore "&c32&8x" to be unstealable 
            format slot 11 of player with diamond named "&5&lDiamenty" with lore "&c64&8x" to be unstealable 
            format slot 12 of player with black glass named " " to be unstealable     
            format slot 13 of player with black glass named " " to be unstealable     
            format slot 14 of player with black glass named " " to be unstealable     
            format slot 15 of player with black glass named " " to be unstealable         
            format slot 16 of player with black glass named " " to be unstealable 
            format slot 17 of player with green wool named "&a&lDrop z premki" to run [execute player command "casedrop premium"] 
        if arg 1 is "premium":
            wait 3 ticks
            open chest with 2 rows named "&6&lPREMIUM CASE &8- &a&lDROP" to player
            format slot 0 of player with diamond helmet of protection 5 and unbreaking 3 named "&5&lHelm 5/3" with lore "&c1&8x" to be unstealable 
            format slot 1 of player with diamond chestplate of protection 5 and unbreaking 3 named "&5&lKlata 5/3" with lore "&c1&8x" to be unstealable     
            format slot 2 of player with diamond leggings of protection 5 and unbreaking 3 named "&5&lSpodnie 5/3" with lore "&c1&8x" to be unstealable     
            format slot 3 of player with diamond boots of protection 5 and unbreaking 3 named "&5&lButy 5/3" with lore "&c1&8x" to be unstealable             
            format slot 4 of player with diamond sword of sharpness 5 and fire aspect 2 named "&5&lMiecz 5/2" with lore "&c1&8x" to be unstealable         
            format slot 5 of player with diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3" with lore "&c1&8x"  to be unstealable     
            format slot 6 of player with enchanted golden apple with lore "&c16&8x" named "&5&lKoxy" to be unstealable 
            format slot 7 of player with golden apple named "&5&lRefile" with lore "&c16&8x" to be unstealable 
            format slot 8 of player with gold block named "&5&lZloto" with lore "&c16&8x"  to be unstealable             
            format slot 9 of player with iron block named "&5&lZelazo" with lore "&c64&8x"  to be unstealable     
            format slot 10 of player with emerald block named "&5&lBlok eme" with lore "&c32&8x" to be unstealable 
            format slot 11 of player with diamond block named "&5&lBlok diaxow" with lore "&c32&8x" to be unstealable 
            format slot 12 of player with black glass named " " to be unstealable     
            format slot 13 of player with black glass named " " to be unstealable     
            format slot 14 of player with black glass named " " to be unstealable     
            format slot 15 of player with black glass named " " to be unstealable     
            format slot 16 of player with green wool named "&a&lDrop z biedy" to run [execute player command "casedrop bieda"]    
            format slot 17 of player with red wool named "&c&lWyjdz" to close

Odnośnik do komentarza
https://skript.pl/temat/21366-pomoc-w-skrypcie/#findComment-145177
Udostępnij na innych stronach

  • 0
           wait 3 ticks
            open chest with 2 rows named "&6&lBIEDA CASE &8- &a&lDROP" to player

musisz dac odwrotnie czyli

		open chest with 2 rows named "&6&lBIEDA CASE &8- &a&lDROP" to player
		wait 3 ticks

 

Odnośnik do komentarza
https://skript.pl/temat/21366-pomoc-w-skrypcie/#findComment-145346
Udostępnij na innych stronach

  • 0
Gość Usunięty#12473
7 minut temu, Ixidi napisał:

           wait 3 ticks
            open chest with 2 rows named "&6&lBIEDA CASE &8- &a&lDROP" to player

musisz dac odwrotnie czyli


		open chest with 2 rows named "&6&lBIEDA CASE &8- &a&lDROP" to player
		wait 3 ticks

 

Tutaj można spotkać bug z skrzynkami, to też nie jest najlepsze rozwiązanie :/

Odnośnik do komentarza
https://skript.pl/temat/21366-pomoc-w-skrypcie/#findComment-145348
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...