Skript Version: Skript 2.2
Minecraft Version: 1.8
Code:
every tick in world "city":
loop all players:
if loop-player has 1 293 not named "xy - %{test.%player%}":
remove 1 293 not named "xy - %{test.%player%}" from loop-player's inventory
give player 1 293 named "xy - %{test.%player%}"
How to check if player has not 1 item with specific name?
I want to update the name of the item.
Hope for help.
Minecraft Version: 1.8
Code:
every tick in world "city":
loop all players:
if loop-player has 1 293 not named "xy - %{test.%player%}":
remove 1 293 not named "xy - %{test.%player%}" from loop-player's inventory
give player 1 293 named "xy - %{test.%player%}"
How to check if player has not 1 item with specific name?
I want to update the name of the item.
Hope for help.