Witam, moglby mi ktos przerobic lekko ten skrypt? chciałbym zeby sie dało komus zabrać/zmienic np. slot itemu no wiadomo powiedzmy chce zamienic graczowi klate zelazna na diaxowa + jesli gracz np. zmieni slot miecza na trzeci z pierwszego to nie musze znowu komende wpisac by mi sie odswiezylo tylko widze ze zmienil odrazu.
command /inspect [<player>]:
executable by: players
permission: inspect.players
permission message: &4Nie posiadasz dostępu do tej komendy.
trigger:
if arg 1 is not set:
send "&cUżycie: &6/inspect <gracz>" to player
stop
set {inspectingPlayers::%player%} to true
open chest inventory with 6 rows named "inspekcja" to player
set {_num} to 0
loop 36 times:
if {_num} is between 0 and 8:
set slot ({_num} + 27) of player's current inventory to slot {_num} of arg-1's inventory
if {_num} is between 9 and 35:
set slot ({_num} - 9) of player's current inventory to slot {_num} of arg-1's inventory
add 1 to {_num}
set slot (integers between 36 and 44) of player's current inventory to black stained glass pane named " "
if arg-1's cursor slot is not air:
set slot 47 of player's current inventory to arg-1's cursor slot
else:
set slot 47 of player's current inventory to white stained glass pane named "&aSlot kursora"
if arg-1's helmet is not air:
set slot 47 of player's current inventory to arg-1's helmet
else:
set slot 47 of player's current inventory to white stained glass pane named "&aHelm"
if arg-1's chestplate is not air:
set slot 48 of player's current inventory to arg-1's chestplate
else:
set slot 48 of player's current inventory to white stained glass pane named "&aKlata"
if arg-1's leggings is not air:
set slot 50 of player's current inventory to arg-1's leggings
else:
set slot 50 of player's current inventory to white stained glass pane named "&aSpodnie"
if arg-1's boots is not air:
set slot 51 of player's current inventory to arg-1's boots
else:
set slot 51 of player's current inventory to white stained glass pane named "&aButy"
Pytanie
Walasz 0
Witam, moglby mi ktos przerobic lekko ten skrypt? chciałbym zeby sie dało komus zabrać/zmienic np. slot itemu no wiadomo powiedzmy chce zamienic graczowi klate zelazna na diaxowa + jesli gracz np. zmieni slot miecza na trzeci z pierwszego to nie musze znowu komende wpisac by mi sie odswiezylo tylko widze ze zmienil odrazu.
Odnośnik do komentarza
https://skript.pl/temat/49015-pomoc-z-skryptem-na-invsee/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
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ą.