Skocz do zawartości
  • 0

Skrypt na Weryfikacje


dziwakkolega

Pytanie

Hej Jest ktoś w stanie zrobić skrypt na weryfikacje? a dokładnie po tak aby po zalogowaniu otwierała się skrzynia gdzie za każdym razem pojawi się zielona wełna w innym miejscu

jeżeli ktoś wyjdzie z GUI to wywali go z serwera z komunikatem &a&lKliknij Zielona Wełnę, Gui ma byc wypelnione czarnym szklem

Edytowane przez dziwakkolega
Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on join:
	open chest with 3 rows named "&cPrzejdz weryfikacje" to player
	loop 27 times:
		set player's current inventory's slot loop-number - 1 to gray glass pane named ""
	set player's current inventory's slot (random integer between 0 and 27) to light green wool named "&aKliknij"
on inventory close:
	if inventory name of current inventory of player is "&cPrzejdz weryfikacje":
		kick player due to "musisz kliknac zielona welne"
on inventory click:
	if inventory name of current inventory of player is "&cPrzejdz weryfikacje":
		cancel event
		if player's current inventory's slot slot is not light green wool named "&aKliknij":
			kick player due to "musisz kliknac zielona welne"
			stop
		close player's inventory

 

Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/#findComment-257558
Udostępnij na innych stronach

  • 0
W dniu 20.08.2020 o 23:08, xAxee napisał:

on join:
	open chest with 3 rows named "&cPrzejdz weryfikacje" to player
	loop 27 times:
		set player's current inventory's slot loop-number - 1 to gray glass pane named ""
	set player's current inventory's slot (random integer between 0 and 27) to light green wool named "&aKliknij"
on inventory close:
	if inventory name of current inventory of player is "&cPrzejdz weryfikacje":
		kick player due to "musisz kliknac zielona welne"
on inventory click:
	if inventory name of current inventory of player is "&cPrzejdz weryfikacje":
		cancel event
		if player's current inventory's slot slot is not light green wool named "&aKliknij":
			kick player due to "musisz kliknac zielona welne"
			stop
		close player's inventory

 

Jest taki bład 

[11:38:11 INFO]: [Skript] Reloading weryfikacja.sk...
[11:38:11 ERROR]: Can't compare 'player's current inventory's slot slot' with an item type (weryfikacja.sk, line 17: if player's current inventory's slot slot is not light green wool named "&aKliknij":')
[11:38:11 INFO]: [Skript] Encountered 1 error while reloading weryfikacja.sk!

  

11 godzin temu, Kormic napisał:

Spróbuj tak:


if clicked item is not lime wool named "&aKliknij":

 

 

błędów nie wywala ale dalej nie dziala co ciekawe po wejsciu w eq pojawia sie 4 black glass pane 

EDIT:

teraz w eq pojawia sie 4 black glass pane i jedna zielona welna 

błędow nie ma

@Kormic

Edytowane przez xAxee
xAxee

Wstawiam w code.

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/#findComment-257584
Udostępnij na innych stronach

  • 0
12 godzin temu, dziwakkolega napisał:

Jest taki bład 


[11:38:11 INFO]: [Skript] Reloading weryfikacja.sk...
[11:38:11 ERROR]: Can't compare 'player's current inventory's slot slot' with an item type (weryfikacja.sk, line 17: if player's current inventory's slot slot is not light green wool named "&aKliknij":')
[11:38:11 INFO]: [Skript] Encountered 1 error while reloading weryfikacja.sk!

 

Spróbuj tak:

if clicked item is not lime wool named "&aKliknij":

EDIT:

Spróbuj w takim razie:

if player's current inventory's slot clicked slot is not lime wool named "&aKliknij":

 

Edytowane przez xAxee
xAxee

Poprawiam cytat.

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/#findComment-257585
Udostępnij na innych stronach

  • 0
on join:
	open chest with 3 rows named "&cPrzejdz weryfikacje" to player
	loop 27 times:
		set player's current inventory's slot loop-number - 1 to gray glass pane named ""
    set {_r::%player%} to a random integer between 0 and 27
	set player's current inventory's slot {_r::%player%} to light green wool named "&aKliknij"
on inventory close:
	if inventory name of current inventory of player is "&cPrzejdz weryfikacje":
		kick player due to "musisz kliknac zielona welne"
on inventory click:
	if inventory name of current inventory of player is "&cPrzejdz weryfikacje":
		cancel event
        if clicked slot is not {_r::%player%}:
			kick player due to "musisz kliknac zielona welne"
			stop
		close player's inventory

Możesz też spróbować tak

Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/#findComment-257593
Udostępnij na innych stronach

  • 0

Ja mam takie błędy: 

15:28:52] [Server thread/INFO]: [Skript] Reloading warpspawn.sk...

[15:28:52] [Server thread/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. (warpspawn.sk, line 16: if clicked slot is not {_r::%player%}:')

[15:28:52] [Server thread/ERROR]: Can't understand this condition/effect: open chest with 3 rows named "&cPrzejdz weryfikacje" to player (warpspawn.sk, line 5: open chest with 3 rows named "&cPrzejdz weryfikacje" to player')

[15:28:52] [Server thread/ERROR]: Can't compare 'inventory name of current inventory of player' with a text (warpspawn.sk, line 11: if inventory name of current inventory of player is "&cPrzejdz weryfikacje":')

[15:28:52] [Server thread/ERROR]: Can't compare 'inventory name of current inventory of player' with a text (warpspawn.sk, line 14: if inventory name of current inventory of player is "&cPrzejdz weryfikacje":')

[15:28:52] [Server thread/INFO]: [Skript] Encountered 3 errors while reloading warpspawn.sk!

 

Edytowane przez xAxee
xAxee

Wstawiam w code.

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/#findComment-257595
Udostępnij na innych stronach

  • 0
8 godzin temu, Nefiu napisał:

Ja mam takie błędy: 


15:28:52] [Server thread/INFO]: [Skript] Reloading warpspawn.sk...

[15:28:52] [Server thread/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. (warpspawn.sk, line 16: if clicked slot is not {_r::%player%}:')

[15:28:52] [Server thread/ERROR]: Can't understand this condition/effect: open chest with 3 rows named "&cPrzejdz weryfikacje" to player (warpspawn.sk, line 5: open chest with 3 rows named "&cPrzejdz weryfikacje" to player')

[15:28:52] [Server thread/ERROR]: Can't compare 'inventory name of current inventory of player' with a text (warpspawn.sk, line 11: if inventory name of current inventory of player is "&cPrzejdz weryfikacje":')

[15:28:52] [Server thread/ERROR]: Can't compare 'inventory name of current inventory of player' with a text (warpspawn.sk, line 14: if inventory name of current inventory of player is "&cPrzejdz weryfikacje":')

[15:28:52] [Server thread/INFO]: [Skript] Encountered 3 errors while reloading warpspawn.sk!

 

wiesz to wymaga dodatków do skripta i pluginu skript min 3.5

Edytowane przez xAxee
xAxee

Poprawiam cytat.

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/#findComment-257608
Udostępnij na innych stronach

  • 0
25 minut temu, dziwakkolega napisał:

wiesz to wymaga dodatków do skripta i pluginu skript min 3.5

O kurde, to już wyszedł Skript 3.5 😮 A tak na poważnie, nie ma takiej wersji, chyba się pomyliłeś.

Edytowane przez Kormic
Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/#findComment-257613
Udostępnij na innych stronach

  • 0
7 godzin temu, Kormic napisał:

O kurde, to już wyszedł Skript 3.5 😮 A tak na poważnie, nie ma takiej wersji, chyba się pomyliłeś.

sorki 2.3.5

 

lecz dalej nie działa błedów nie ma 

ale nie dziala

xAxee

Łączę posty.

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/41197-skrypt-na-weryfikacje/#findComment-257644
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

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