Skocz do zawartości
  • 0

[Wydzielone] Poprawa skryptu na menu


Pytanie

Axee a umiesz zrobic tak aby w pustych slotach bylo szare szklo gdzie nie ma megadropu i pvp?

#edit: i jezeli wejdzie na serwer to ma juz 4 slot i trzyma ksiazke a nie szklo?
skrypt:
 

on rightclick:
	if player is holding book named "&a&lWYBIERZ TRYB":
		open chest with 3 rows named "&aWybierz serwer" to player
		wait 1 tick
		format slot 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 of player with 1 of stone named "&8» &aMegaDrop &8«" with lore "&8» &aMegaDrop &8«" with lore "&8» &7Tryb: &aMegaDrop||&8» &7Wersja: &a1.8.8" to close then run [execute console command "/mvtp %player% megad"]
		format slot 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 of player with 1 of diamond sword named "&8» &aPvP &8«" with lore "&8» &aMegaDrop &8«" with lore "&8» &7Tryb: &aPvP||&8» &7Wersja: &a1.8.8" to close then run [execute console command "/nie %player%"]

 

Edytowane przez Kurotsuwa
Kurotsuwa

Jeżeli chcesz poruszyć sprawę skryptu niezwiązanego ze zleceniem/problemem załóż nowy wątek. 

Notatka dodana przez Kurotsuwa

Kurotsuwa

Bawię się w krawca i wydzielam z innego tematu poprawiając nieco treści postów, aby składały się w logiczną całość. 

Notatka dodana przez Kurotsuwa

Odnośnik do komentarza
https://skript.pl/temat/34380-wydzielone-poprawa-skryptu-na-menu/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
1 minutę temu, fitofep napisał:

Axee a umiesz zrobic tak aby w pustych slotach bylo szare szklo gdzie nie ma megadropu i pvp?
skrypt:
 

przed tym megra drop itp

loop 27 times:
	format slot ((loop-number)-1) of player with 1 of gray glass pane to close

 

Odnośnik do komentarza
https://skript.pl/temat/34380-wydzielone-poprawa-skryptu-na-menu/#findComment-221170
Udostępnij na innych stronach

  • 0
5 minut temu, xAxee napisał:

przed tym megra drop itp


loop 27 times:
	format slot ((loop-number)-1) of player with 1 of gray glass pane to close

 

> [23:05:37 INFO]: [Skript] Reloading lobbykompas.sk...
> [23:05:37 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (lobbykompas.sk, line 52: format slot ((loop-number)-1) of player with 1 of gray glass pane to close')
> [23:05:37 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (lobbykompas.sk, line 53: format slot 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 of player with 1 of stone named "&8» &aMegaDrop &8«" with lore "&8» &aMegaDrop &8«" with lore "&8» &7Tryb: &aMegaDrop||&8» &7Wersja: &a1.8.8" to close then run [execute console command "/mvtp %player% megad"]')
> [23:05:37 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (lobbykompas.sk, line 54: format slot 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 of player with 1 of diamond sword named "&8» &aPvP &8«" with lore "&8» &aMegaDrop &8«" with lore "&8» &7Tryb: &aPvP||&8» &7Wersja: &a1.8.8" to close then run [execute console command "/nie %player%"]')
> [23:05:37 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (lobbykompas.sk, line 51: loop 27 times:')
> [23:05:37 INFO]: [Skript] Encountered 3 errors while reloading lobbykompas.sk!
Odnośnik do komentarza
https://skript.pl/temat/34380-wydzielone-poprawa-skryptu-na-menu/#findComment-221172
Udostępnij na innych stronach

  • 0
6 minut temu, fitofep napisał:
> [23:05:37 INFO]: [Skript] Reloading lobbykompas.sk...
> [23:05:37 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (lobbykompas.sk, line 52: format slot ((loop-number)-1) of player with 1 of gray glass pane to close')
> [23:05:37 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (lobbykompas.sk, line 53: format slot 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 of player with 1 of stone named "&8» &aMegaDrop &8«" with lore "&8» &aMegaDrop &8«" with lore "&8» &7Tryb: &aMegaDrop||&8» &7Wersja: &a1.8.8" to close then run [execute console command "/mvtp %player% megad"]')
> [23:05:37 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (lobbykompas.sk, line 54: format slot 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 of player with 1 of diamond sword named "&8» &aPvP &8«" with lore "&8» &aMegaDrop &8«" with lore "&8» &7Tryb: &aPvP||&8» &7Wersja: &a1.8.8" to close then run [execute console command "/nie %player%"]')
> [23:05:37 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (lobbykompas.sk, line 51: loop 27 times:')
> [23:05:37 INFO]: [Skript] Encountered 3 errors while reloading lobbykompas.sk!

wytabuj...

Odnośnik do komentarza
https://skript.pl/temat/34380-wydzielone-poprawa-skryptu-na-menu/#findComment-221173
Udostępnij na innych stronach

  • 0
15 godzin temu, xAxee napisał:

wytabuj...

sory ale nie wiem jak xD

 

15 godzin temu, xAxee napisał:

przed tym megra drop itp


loop 27 times:
	format slot ((loop-number)-1) of player with 1 of gray glass pane to close

 

> [23:43:15 INFO]: [Skript] Reloading lobbykompas.sk...
> [23:43:15 ERROR]: indentation error: expected 3 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (lobbykompas.sk, line 52: format slot ((loop-number)-1) of player with 1 of gray glass pane to close')
> [23:43:15 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (lobbykompas.sk, line 51: loop 27 times:')
> [23:43:25 INFO]: [Skript] Encountered 1 error while reloading lobbykompas.sk!

 

10 godzin temu, US3R . napisał:

on rightclick holding a book:
	if player is holding book named "&a&lWYBIERZ TRYB":
		open chest with 3 rows named "&aWybierz serwer" to player
		wait 1 tick
		loop 27 times:
			set slot loop-number -1 of player's current inventory to black glass named " "

 

dzieki dziala

 

Koniec tematu

Kurotsuwa

Łączę. 

Notatka dodana przez Kurotsuwa

Kurotsuwa

Łączokalipsa.

Notatka dodana przez Kurotsuwa

Odnośnik do komentarza
https://skript.pl/temat/34380-wydzielone-poprawa-skryptu-na-menu/#findComment-221175
Udostępnij na innych stronach

  • 0
on rightclick holding a book:
	if player is holding book named "&a&lWYBIERZ TRYB":
		open chest with 3 rows named "&aWybierz serwer" to player
		wait 1 tick
		loop 27 times:
			set slot loop-number -1 of player's current inventory to black glass named " "

 

Edytowane przez US3R .
Odnośnik do komentarza
https://skript.pl/temat/34380-wydzielone-poprawa-skryptu-na-menu/#findComment-221206
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ę...