Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Przerobi ktoś skript?


MlOdy1922

Rekomendowane odpowiedzi

Opublikowano

Witam, znalazłem na tym forum skrypt że jak dany gracz jest powiedzmy na świecie ArenaKNOCK to po wpisaniu komendy dostaje dane itemy przydzielonego do tej mapy. Czy przerobiłby mi to ktoś że gracz z daną permisją np. arena.vip dostawałby te itemy od razu po przeteleportowaniu na tą mape? bez wywoływania komendy.

options:
	# NAZWY SWIATOW DO AREN:
	hard: ArenaHard
	knock: ArenaKnock
	poty: ArenaPoty
command /zestaw [<text>]:
	trigger:
		world is "{@hard}" or "{@knock}" or "{@poty}":
			world is "{@hard}":
				clear player's inventory
				add diamond helmet of protection 4 and unbreaking 3 to player's helmet
				add diamond chestplate of protection 4 and unbreaking 3 to player's chestplate
				add diamond leggings of protection 4 and unbreaking 3 to player's leggings
				add diamond boots of protection 4 and unbreaking 3 to player's boots
				give diamond sword of sharpness 5 and fire aspect 2 to player
				give 2 enchanted golden apple to player
				give 5 golden apple to player
				loop 5 times:
					give stone named "%loop-number%" to player
				give 16 steak to player
				remove 5 stone from player
				stop
			world is "{@knock}":
				clear player's inventory
				add diamond helmet of protection 4 to player's helmet
				add diamond chestplate of protection 4 to player's chestplate
				add diamond leggings of protection 4 to player's leggings
				add diamond boots of protection 4 to player's boots
				give diamond sword of sharpness 5 to player
				give iron sword of knockback 2 to player
				give enchanted golden apple to player
				give 3 golden apple to player
				loop 4 times:
					give stone named "%loop-number%" to player
				give 16 steak to player
				remove 4 stone from player
				stop
			world is "{@poty}":
				clear player's inventory
				add diamond helmet of protection 4 and unbreaking 3 to player's helmet
				add diamond chestplate of protection 4 and unbreaking 3 to player's chestplate
				add diamond leggings of protection 4 and unbreaking 3 to player's leggings
				add diamond boots of protection 4 and unbreaking 3 to player's boots
				give diamond sword of sharpness 5 and fire aspect 2 to player
				give potion of:8265 to player
				give potion of:8258 to player
				give potion of:8259 to player
				loop 4 times:
					give potion of:16421 to player
				give 16 steak to player
				give potion of:8265 to player
				give potion of:8258 to player
				give potion of:8259 to player
				loop 6 times:
					give potion of:16421 to player
				loop 2 times:
					give potion of:16388 to player
				give potion of:16426 to player
				loop 6 times:
					give potion of:16421 to player
				give potion of:16426 to player
				loop 2 times:
					give potion of:16422 to player
				loop 6 times:
					give potion of:16421 to player
				stop
		send "&4Blad: &cNie mozesz tutaj wziac zestawu"
Opublikowano

Pisałem już to...

 

on teleport:
    if player's world is "ArenaHARD":
        execute player command "zestaw hard"
    if player's world is "ArenaKNOCK":
        execute player command "zestaw knock" 

­

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Opublikowano
on teleport:
    if player has permission "graczhard":
        if player's world is "ArenaHARD":
            execute player command "zestaw hard"
    if player's world is "ArenaKNOCK":
        if player has permission "graczknock"
            execute player command "zestaw knock"  

­

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...