Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 10 second:
- loop all players:
- set {_koxy} to number of enchanted golden apple in the loop-player's inventory
- set {_refile} to number of golden apple in the loop-player's inventory
- set {_perly} to number of ender pearl in the loop-player's inventory
- if player's world is "world":
- if {_koxy} is more than 6:
- set {_a} to {_koxy}-6
- remove {_a} of enchanted golden apple from loop-player
- add {_a} to {schowek.%loop-player%.koxy}
- send "&6Posiadasz przy sobie wiecej niz 6 koxow, %{_a}% koxow zostaje odlozone do twojego schowka" to loop-player
- if {_refile} is more than 12:
- set {_a} to {_refile}-12
- remove {_a} of golden apple from loop-player
- add {_a} to {schowek.%loop-player%.refile}
- send "&ePosiadasz przy sobie wiecej niz 12 refili, %{_a}% refili zostaje odlozone do twojego schowka" to loop-player
- if {_perly} is more than 3:
- set {_a} to {_perly}-3
- remove {_a} of ender pearl from loop-player
- add {_a} to {schowek.%loop-player%.perly}
- send "&5Posiadasz przy sobie wiecej niz 3 perly, %{_a}% perel zostaje odlozone do twojego schowka" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement