Skocz do zawartości

Dołącz do społecznoś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

Prośba o napisanie skryptu na limit koxów.

Rekomendowane odpowiedzi

Opublikowano
Musisz wytabować ;d

 


on pick up:

wait 0.1 second

if amount of enchanted golden apple in player's inventory is greater than 10:

set {_amount} to amount of enchanted golden apple in player's inventory

set {_amountend} to {_amount}-10

set {_add} to "%{_amountend}% enchanted golden apple"

add "%{_add}%" parsed as item to player's enderchest

remove all enchanted golden apple from player's inventory

add 10 enchanted golden apple to player's inventory

message "&c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."

if amount of ender pearl in player's inventory is greater than 10:

set {_amount} to amount of ender pearl in player's inventory

set {_amountend} to {_amount}-10

set {_add} to "%{_amountend}% ender pearl"

add "%{_add}%" parsed as item to player's enderchest

remove all ender pearl from player's inventory

add 10 ender pearl to player's inventory

message "&c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."

stop

 

on inventory close:

if amount of enchanted golden apple in player's inventory is greater than 10:

set {_amount} to amount of enchanted golden apple in player's inventory

set {_amountend} to {_amount}-10

set {_add} to "%{_amountend}% enchanted golden apple"

add "%{_add}%" parsed as item to player's enderchest

remove all enchanted golden apple from player's inventory

add 10 enchanted golden apple to player's inventory

message "&c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."

if amount of ender pearl in player's inventory is greater than 10:

set {_amount} to amount of ender pearl in player's inventory

set {_amountend} to {_amount}-10

set {_add} to "%{_amountend}% ender pearl"

add "%{_add}%" parsed as item to player's enderchest

remove all ender pearl from player's inventory

add 10 ender pearl to player's inventory

message "&c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."

stop


Edytowane przez Lord Assasin
Spoiler

Opublikowano
on pick up of enchanted golden apple:
    player has more than 10 enchanted golden apple
        set {_kox} to quantity of player's golden enchanted apple
        set {_drop} to {_kox} - 10
        drop {_drop} golden enchanted apple

Nie mam pojęcia czy zadziala xD

To wygląda jak sygnatura!

Opublikowano
  • Autor

 

Musisz wytabować ;d
 

on pick up:
wait 0.1 second
if amount of enchanted golden apple in player's inventory is greater than 10:
set {_amount} to amount of enchanted golden apple in player's inventory
set {_amountend} to {_amount}-10
set {_add} to "%{_amountend}% enchanted golden apple"
add "%{_add}%" parsed as item to player's enderchest
remove all enchanted golden apple from player's inventory
add 10 enchanted golden apple to player's inventory
message "&c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
if amount of ender pearl in player's inventory is greater than 10:
set {_amount} to amount of ender pearl in player's inventory
set {_amountend} to {_amount}-10
set {_add} to "%{_amountend}% ender pearl"
add "%{_add}%" parsed as item to player's enderchest
remove all ender pearl from player's inventory
add 10 ender pearl to player's inventory
message "&c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
stop
 
on inventory close:
if amount of enchanted golden apple in player's inventory is greater than 10:
set {_amount} to amount of enchanted golden apple in player's inventory
set {_amountend} to {_amount}-10
set {_add} to "%{_amountend}% enchanted golden apple"
add "%{_add}%" parsed as item to player's enderchest
remove all enchanted golden apple from player's inventory
add 10 enchanted golden apple to player's inventory
message "&c&lOsiagnieto maksymalna ilosc koxow w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
if amount of ender pearl in player's inventory is greater than 10:
set {_amount} to amount of ender pearl in player's inventory
set {_amountend} to {_amount}-10
set {_add} to "%{_amountend}% ender pearl"
add "%{_add}%" parsed as item to player's enderchest
remove all ender pearl from player's inventory
add 10 ender pearl to player's inventory
message "&c&lOsiagnieto maksymalna ilosc ender perel w twoim ekwipunku. Zostawiono 10, reszte odlozono do twojego enderchestu."
stop

 

 

Jakie dodatki muszę do tego skryptu posiadać? :D

Zarchiwizowany

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

Ostatnio przeglądający 0

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

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.